SJBHM Appendix J - Current State of SJRIP RiverWare Model

SJRIP RiverWare Model - November 2020

Control Display Icon Contents

Control Display Icon 1 General Model Information

Run Control Information

Controller: Rulebased Simulation
Start: 24:00 October 1, 1928
End: 24:00 September 30, 2013
Timestep: 1 Day
Number of Timesteps: 31046

File Save History

Todd 11-16-2020 07:57:59 RiverWare 8.1.2

File Comment

SimObj Summary

TypeCount
RiverWare SimObj Icon AggDiversionSite3
RiverWare SimObj Icon CompObj1
RiverWare SimObj Icon Confluence9
RiverWare SimObj Icon DataObj51
RiverWare SimObj Icon DiversionObject9
RiverWare SimObj Icon GroundWaterStorage3
RiverWare SimObj Icon ObjCluster3
RiverWare SimObj Icon Reach105
RiverWare SimObj Icon StorageReservoir3
RiverWare SimObj Icon WaterUser62
Total249

Control Display Icon 2 List of Current Model Objects

Subbasin: SimObj

RiverWare SimObj Icon SanJuanAtArchuleta
RiverWare SimObj Icon DIV_NMCITZ
RiverWare SimObj Icon DIV_NMHAMM
RiverWare SimObj Icon DIV_NMBLOOM
RiverWare SimObj Icon Animas Below Lightner
RiverWare SimObj Icon SM Returns to 301094
RiverWare SimObj Icon DIV_301094
RiverWare SimObj Icon BFL_301023
RiverWare SimObj Icon DIV_301023
RiverWare SimObj Icon SM Animas Ditch
RiverWare SimObj Icon Florida at Mouth
RiverWare SimObj Icon AnimasFlorida
RiverWare SimObj Icon DIV_30ADS010
RiverWare SimObj Icon SM Aggregate Diversion
RiverWare SimObj Icon AnimasNearCedarHill
RiverWare SimObj Icon DIV_304665
RiverWare SimObj Icon TwinRocks
RiverWare SimObj Icon DIV_304664
RiverWare SimObj Icon Ralston
RiverWare SimObj Icon DIV_NMANIM
RiverWare SimObj Icon DIV_NMFARMMI
RiverWare SimObj Icon DIV_NMGLADE
RiverWare SimObj Icon DIV_NMECHO
RiverWare SimObj Icon DIV_NMFMD
RiverWare SimObj Icon SanJuanAnimas
RiverWare SimObj Icon SanJuanAtFarmington
RiverWare SimObj Icon DIV_NMFRUCAM
RiverWare SimObj Icon LaPlataAtFarmington
RiverWare SimObj Icon SanJuanLaPlata
RiverWare SimObj Icon RET_NMSJGS
RiverWare SimObj Icon DIV_NMSJGS
RiverWare SimObj Icon SJGeneratingStation
RiverWare SimObj Icon DIV_NMJEWV
RiverWare SimObj Icon JewettValley
RiverWare SimObj Icon DIV_NM4CPP
RiverWare SimObj Icon DIV_NMHOGB
RiverWare SimObj Icon DIV_NMCUDEI
RiverWare SimObj Icon CudeiCanal
RiverWare SimObj Icon SanJuanMancos
RiverWare SimObj Icon McElmo Creek Mouth
RiverWare SimObj Icon SanJuanMcElmo
RiverWare SimObj Icon DIV_UTIRR
RiverWare SimObj Icon UtahIrr
RiverWare SimObj Icon ArchuletaDitch
RiverWare SimObj Icon DIV_NMARCH
RiverWare SimObj Icon DIV_NMTURLEY
RiverWare SimObj Icon TurleyDitch
RiverWare SimObj Icon BloomfieldMI
RiverWare SimObj Icon CitizenDitch
RiverWare SimObj Icon Hammond
RiverWare SimObj Icon SanJuanAtFourCorners
RiverWare SimObj Icon SanJuanAtBluff
RiverWare SimObj Icon FourCornersPP
RiverWare SimObj Icon SanJuanAtShiprock
RiverWare SimObj Icon DIV_NMU7NIR
RiverWare SimObj Icon DEP_NMU7NonIr
RiverWare SimObj Icon FruitlandAndCambridge
RiverWare SimObj Icon DIV_NMSRMI
RiverWare SimObj Icon ShiprockMI
RiverWare SimObj Icon FarmingtonGlade
RiverWare SimObj Icon AnimasAtFarmington
RiverWare SimObj Icon RET_NMFMD
RiverWare SimObj Icon EchoDitch
RiverWare SimObj Icon NMAnimasIrr
RiverWare SimObj Icon FarmersMutual
RiverWare SimObj Icon FarmingtonMI
RiverWare SimObj Icon Hogback
RiverWare SimObj Icon DIV_NMU3NIR
RiverWare SimObj Icon DEP_NMU3NonIr
RiverWare SimObj Icon DIV_NMAZTECMI
RiverWare SimObj Icon DIV_NMU2NIR
RiverWare SimObj Icon AztecMI
RiverWare SimObj Icon DEP_NMU2NonIr
RiverWare SimObj Icon DIV_NMU6NIR
RiverWare SimObj Icon DEP_NMU6NonIr
RiverWare SimObj Icon ALPNMSupplyFromAnimas
RiverWare SimObj Icon ALPNMSupplyFromAnimas:ALPShiprock
RiverWare SimObj Icon ALPNMSupplyFromAnimas:ALPAztec
RiverWare SimObj Icon ALPNMSupplyFromAnimas:ALPFarmington
RiverWare SimObj Icon ALPNMSupplyFromAnimas:ALPKirkland
RiverWare SimObj Icon ALPNMSupplyFromAnimas:ALPBloomfield
RiverWare SimObj Icon DIV_ALPNMAnimas
RiverWare SimObj Icon DIV_Unspecified3
RiverWare SimObj Icon DEP_Unspecified3
RiverWare SimObj Icon DIV_ALPToBloomfield
RiverWare SimObj Icon DIV_Unspecified1
RiverWare SimObj Icon DEP_Unspecified1
RiverWare SimObj Icon PumpToRBR
RiverWare SimObj Icon DemandsOnRBR
RiverWare SimObj Icon DemandsOnRBR:RidgesBasinResort
RiverWare SimObj Icon DemandsOnRBR:DgoRuralMI
RiverWare SimObj Icon DemandsOnRBR:LaPlataRuralMI
RiverWare SimObj Icon DemandsOnRBR:AnimasFloridaMI
RiverWare SimObj Icon DemandsOnRBR:Coal
RiverWare SimObj Icon DemandsOnRBR:MancosResort
RiverWare SimObj Icon DemandsOnRBR:UteDurango
RiverWare SimObj Icon DemandsOnRBR:ColoradoBalance
RiverWare SimObj Icon DemandsOnRBR:GasPowerPlant
RiverWare SimObj Icon DemandsOnRBR:DurangoMI
RiverWare SimObj Icon DurangoMIReturns
RiverWare SimObj Icon AnimasAtDurangoPumpingPlant
RiverWare SimObj Icon ALPDurango
RiverWare SimObj Icon ISF_Bluff
RiverWare SimObj Icon BYP_Bluff
RiverWare SimObj Icon ISF_FourCorners
RiverWare SimObj Icon BYP_FourCorners
RiverWare SimObj Icon ISF_Shiprock
RiverWare SimObj Icon BYP_Shiprock
RiverWare SimObj Icon ISF_Farmington
RiverWare SimObj Icon BYP_Farmington
RiverWare SimObj Icon ISF_Archuleta
RiverWare SimObj Icon BYP_Archuleta
RiverWare SimObj Icon NIIP
RiverWare SimObj Icon NIIP:DEP_NIIPUnit3
RiverWare SimObj Icon NIIP:DEP_NIIPUnit5
RiverWare SimObj Icon NIIP:DEP_NIIPUnit6
RiverWare SimObj Icon NIIP:NavajoGallupNIIP
RiverWare SimObj Icon NIIPSubUnit3GW
RiverWare SimObj Icon NIIPSubUnit5GW
RiverWare SimObj Icon NIIPSubUnit6GW
RiverWare SimObj Icon DEP_Unspecified2
RiverWare SimObj Icon DIV_Unspecified2
RiverWare SimObj Icon ALPData
RiverWare SimObj Icon RidgesBasin
RiverWare SimObj Icon Navajo
RiverWare SimObj Icon SM East Mesa Ditch
RiverWare SimObj Icon DIV_Unspecified4
RiverWare SimObj Icon DEP_Unspecified4
RiverWare SimObj Icon DIV_NMNGBAL
RiverWare SimObj Icon NavajoGallupBalance
RiverWare SimObj Icon NavajoData
RiverWare SimObj Icon WaterUserData
RiverWare SimObj Icon SupplementalWater
RiverWare SimObj Icon InitialConditions
RiverWare SimObj Icon SanJuanChamaDiversions
RiverWare SimObj Icon SanJuanChamaRules
RiverWare SimObj Icon SJCMonthlyModelAdjustment
RiverWare SimObj Icon EXP_OsoDiversion
RiverWare SimObj Icon BlancoTunnel
RiverWare SimObj Icon OsoTunnel
RiverWare SimObj Icon AzoteaTunnel
RiverWare SimObj Icon Blanco River
RiverWare SimObj Icon Navajo River
RiverWare SimObj Icon Little Navajo River
RiverWare SimObj Icon EXP_BlancoDiversion
RiverWare SimObj Icon EXP_LittleOsoDiversion
RiverWare SimObj Icon La Plata At Stateline
RiverWare SimObj Icon DIV_NMLPNIR
RiverWare SimObj Icon DIV_NMLPIRR
RiverWare SimObj Icon BFL_NMLPIRR
RiverWare SimObj Icon Pioneer
RiverWare SimObj Icon Enterprise
RiverWare SimObj Icon LaPlataNonIr
RiverWare SimObj Icon LowerLaPlataIrr
RiverWare SimObj Icon SanJuanPiedra
RiverWare SimObj Icon NMPineRiverAreaIrr
RiverWare SimObj Icon USNavajoNonIr
RiverWare SimObj Icon JicarillaNonIr
RiverWare SimObj Icon DIV_NMUSNIR
RiverWare SimObj Icon DIV_NMUSIRR
RiverWare SimObj Icon DIV_NMJICNIR
RiverWare SimObj Icon JicarillaIrr
RiverWare SimObj Icon DIV_NMJICIRR
RiverWare SimObj Icon San Juan Near Carracas
RiverWare SimObj Icon Los Pinos
RiverWare SimObj Icon Spring Creek
RiverWare SimObj Icon Piedra
RiverWare SimObj Icon LosPinosSpring
RiverWare SimObj Icon SanJuanLosPinos
RiverWare SimObj Icon Above Navajo Local Inflows
RiverWare SimObj Icon Heron
RiverWare SimObj Icon ETACMonthlyCIR
RiverWare SimObj Icon ETACDailyCIR by Init Rule
RiverWare SimObj Icon ETACDailyCIR Disagg Step 1
RiverWare SimObj Icon ETACDailyCIR Disagg Step 2
RiverWare SimObj Icon ETACDailyCIR Monthly Avgs
RiverWare SimObj Icon ETACMonthlyCIR Interim Monthly Avg
RiverWare SimObj Icon ETACDailyCIR Disagg HOLD ITERATIONS
RiverWare SimObj Icon Run Setup Data
RiverWare SimObj Icon NewFlowRecs
RiverWare SimObj Icon RBROutflow
RiverWare SimObj Icon NewDailyOutput
RiverWare SimObj Icon SJC Adjustment
RiverWare SimObj Icon BaseflowTargetStats
RiverWare SimObj Icon OldFlowRecs
RiverWare SimObj Icon SJC Shortage Adjustment
RiverWare SimObj Icon San Juan Chama Shortage Net Inflow
RiverWare SimObj Icon Shortage Data
RiverWare SimObj Icon SanJuanRockGulch
RiverWare SimObj Icon Rock Gulch
RiverWare SimObj Icon SM Returns above Navajo
RiverWare SimObj Icon StateMod Return Flows above Navajo
RiverWare SimObj Icon Mancos River Mouth
RiverWare SimObj Icon StateMod Return Flows above Four Corners
RiverWare SimObj Icon StateMod Return Flows above Bluff
RiverWare SimObj Icon SM Returns above Bluff
RiverWare SimObj Icon SM Returns above FC
RiverWare SimObj Icon StateMod Return Flows to 3001094
RiverWare SimObj Icon StateMod Return Flows to 3001023
RiverWare SimObj Icon StateMod Return Flows to 30_ADS010
RiverWare SimObj Icon SM Animas SUIT Reserved
RiverWare SimObj Icon DIV_30_SUIT
RiverWare SimObj Icon StateMod Return Flows to 30_ARS005
RiverWare SimObj Icon SM ARS005 Returns
RiverWare SimObj Icon MODEL CHECKS
RiverWare SimObj Icon San Juan Above Navajo Local Inflows
RiverWare SimObj Icon LocalInflows
RiverWare SimObj Icon San Juan at Farmington Local Inflows
RiverWare SimObj Icon San Juan At Shiprock Local Inflows
RiverWare SimObj Icon San Juan at Four Corners Local Inflows
RiverWare SimObj Icon San Juan at Bluff Local Inflows
RiverWare SimObj Icon La Plata Local Inflows
RiverWare SimObj Icon Animas At Farmington Local Inflows
RiverWare SimObj Icon Animas Near Cedar Hill Local Inflows
RiverWare SimObj Icon Animas Above Florida Local Inflows
RiverWare SimObj Icon DailyFilledHistoricStreamflows
RiverWare SimObj Icon StateModMonthlyBaselineInputs
RiverWare SimObj Icon Daily Disaggregation Fractions
RiverWare SimObj Icon DailyFilledHistoricStreamflowsRA
RiverWare SimObj Icon NIIP and Navajo Gallup Data
RiverWare SimObj Icon Non Irrigation Demands
RiverWare SimObj Icon Annual Depletion Volumes
RiverWare SimObj Icon Annual Depletion Request Volumes
RiverWare SimObj Icon Annual Diversion Request Volumes
RiverWare SimObj Icon Annual Diversion Volumes
RiverWare SimObj Icon Depletion Reporting Config
RiverWare SimObj Icon Average Annual Depletion Request Volume
RiverWare SimObj Icon Average Annual Diversion Request Volume
RiverWare SimObj Icon Average Annual Depletion Volume
RiverWare SimObj Icon Average Annual Diversion Volume
RiverWare SimObj Icon StateModMonthlyBaselineInputs_NoResv
RiverWare SimObj Icon ETAC Setup
RiverWare SimObj Icon TEMP Shortage Analysis
RiverWare SimObj Icon Release Breakdown
RiverWare SimObj Icon Climate Change CIR Adjustment Factors
RiverWare SimObj Icon Climate Change Run Config
RiverWare SimObj Icon StateModMonthlyBaselineInputs_ClimateChange
RiverWare SimObj Icon StateModMonthlyBaselineInputs_SavePreClimateChangeBaselineJustInCase
RiverWare SimObj Icon ETACMonthlyCIR_Baseline
RiverWare SimObj Icon StateModMonthlyBaselineInputs_WithStateModAnalogYearsOnly
RiverWare SimObj Icon StateModMonthlyBaselineInputs_WithStateModAnalogFullCCProcess
RiverWare SimObj Icon Daily Disaggregation Fractions_SHIFTED
RiverWare SimObj Icon DailyFilledHistoricStreamflowsRA_SHIFTED
RiverWare SimObj Icon AdjustedStateModShiftDays
RiverWare SimObj Icon DailyFilledHistoricStreamflows_SHIFTED

Control Display Icon 3 Initialization Ruleset

Control Display Icon 3.1 RPL Object Icon Baseline Initialization Rules

Control Display Icon 3.1.1 RPL Object Icon Initialize Old Flow Recs Slots

Statements

Statements

Referenced Functions

  • RPL Object Icon GetDates

Control Display Icon 3.1.2 RPL Object Icon Initialize Old Flow Recs Perturbations

Statements

Statements

Referenced Functions

  • RPL Object Icon NextDate
  • RPL Object Icon GetDates

Control Display Icon 3.1.3 RPL Object Icon Initial Pool Elevations and GW Storages

Statements

Statements

Control Display Icon 3.1.4 RPL Object Icon Initialize SJC Monthly Model and Net Shortage Adjustment

Statements

Statements

Referenced Functions

  • RPL Object Icon GetDates

Control Display Icon 3.1.5 RPL Object Icon Setup SJC Reoperation

Statements

Statements

Referenced Functions

  • RPL Object Icon HeronClimateChangeAdjustmentFactor
  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon OffsetDate
  • RPL Object Icon NextDate
  • RPL Object Icon GetDates

Control Display Icon 3.1.6 RPL Object Icon Initialize Baseflow Slots

Statements

Statements

Referenced Functions

  • RPL Object Icon GetDates

Control Display Icon 3.1.7 RPL Object Icon Initialize New Flow Recs Calcs

Statements

Statements

Referenced Functions

  • RPL Object Icon NextDate

Control Display Icon 3.2 RPL Object Icon Initialize Water Users

Control Display Icon 3.2.1 RPL Object Icon Set NIIP Daily Demands

Statements

Statements

Referenced Functions

  • RPL Object Icon GetDaysInMonth
  • RPL Object Icon NextDate
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates

Control Display Icon 3.2.2 RPL Object Icon Initialize and Target NIIP Demands

Statements

Statements

Referenced Functions

  • RPL Object Icon Return1
  • RPL Object Icon Abs
  • RPL Object Icon Sum
  • RPL Object Icon MaxItem
  • RPL Object Icon Min
  • RPL Object Icon MinItem
  • RPL Object Icon GetDaysInMonth
  • RPL Object Icon NextDate
  • RPL Object Icon GetDates
  • RPL Object Icon GetNumbers

Control Display Icon 3.2.3 RPL Object Icon Set NIIP GW Return Flow Fractions and NIIP Available Water

Statements

Statements

Referenced Functions

  • RPL Object Icon GetDates

Control Display Icon 3.2.4 RPL Object Icon Set Calibrated NIIP GW Outflow Tables for Run Configuration

Statements

Statements

Referenced Functions

  • RPL Object Icon NumRows
  • RPL Object Icon GetNumbers
  • RPL Object Icon RowLabels

Control Display Icon 3.2.5 RPL Object Icon Initialize Navajo Gallup Water Supply Project Demands

Statements

Statements

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon GetDaysInMonth
  • RPL Object Icon GetDates

Control Display Icon 3.2.6 RPL Object Icon Set Unspecified Depletion and Diversion Requests

Statements

Statements

Referenced Functions

  • RPL Object Icon GetDates
  • RPL Object Icon LeapYear

Control Display Icon 3.2.7 RPL Object Icon Initialize Non Irrigation Water Users

Statements

Statements

Referenced Functions

  • RPL Object Icon Sum
  • RPL Object Icon Min
  • RPL Object Icon IntegerToString
  • RPL Object Icon GetDaysInMonth
  • RPL Object Icon GetDates
  • RPL Object Icon GetObject
  • RPL Object Icon ColumnLabels
  • RPL Object Icon GetSlotVals
  • RPL Object Icon RowLabels

Control Display Icon 3.2.8 RPL Object Icon Set StateMod Inputs - Water Users

Statements

Statements

Referenced Functions

  • RPL Object Icon CurrentScenarioStateModInputsDataObject
  • RPL Object Icon GetDaysInMonth
  • RPL Object Icon NextDate

Control Display Icon 3.2.9 RPL Object Icon Initialize Other ALP/RBR Demands - R Flags

Statements

Statements

Referenced Functions

  • RPL Object Icon GetDates
  • RPL Object Icon ColumnLabels

Control Display Icon 3.2.10 RPL Object Icon Initialize ALP/RBR Demands - Z Flags

Statements

Statements

Referenced Functions

  • RPL Object Icon GetDaysInMonth
  • RPL Object Icon GetDates
  • RPL Object Icon GetLinkedObjs
  • RPL Object Icon Split

Control Display Icon 3.2.11 RPL Object Icon ADDADDADD --------------- VERIFY ET RATES FOR NON CLIMATE CHANGE

Control Display Icon 3.3 RPL Object Icon Initialize Flows - Z Flags

Control Display Icon 3.3.1 RPL Object Icon Set StateMod Inputs - Flows

Statements

Statements

Referenced Functions

  • RPL Object Icon CurrentScenarioStateModInputsDataObject
  • RPL Object Icon GetDaysInMonth
  • RPL Object Icon NextDate
  • RPL Object Icon VolumeToFlow

Control Display Icon 3.3.2 RPL Object Icon Set Local Inflow Inputs

Statements

Statements

Control Display Icon 3.3.3 RPL Object Icon Calculate Disaggregation Fractions for StateMod Disaggregation

Statements

Statements

Referenced Functions

  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon GetDaysInMonth
  • RPL Object Icon NextDate
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates
  • RPL Object Icon GetSlotName
  • RPL Object Icon FlowToVolume
  • RPL Object Icon GetSeriesSlots

Control Display Icon 3.3.4 RPL Object Icon SHOULD TEST IMPACT ON FLOW REC PERFORMANCE ----- Smooth Historic Flows For Disaggregation Ratios

Statements

Statements

Referenced Functions

  • RPL Object Icon Sum
  • RPL Object Icon DateMin
  • RPL Object Icon DateMax
  • RPL Object Icon GetDates
  • RPL Object Icon GetSlotVals
  • RPL Object Icon GetSlotName
  • RPL Object Icon GetSeriesSlots

Control Display Icon 3.3.5 RPL Object Icon Calculate and Apply Shifts for Monthly to Daily Flow Disagg Factors

Statements

Statements

Referenced Functions

  • RPL Object Icon Sum
  • RPL Object Icon RoundToFactor
  • RPL Object Icon IntegerToString
  • RPL Object Icon RunEndDate
  • RPL Object Icon DateMin
  • RPL Object Icon GetDaysInMonth
  • RPL Object Icon GetDate
  • RPL Object Icon GetMonthAsString
  • RPL Object Icon GetYearAsString
  • RPL Object Icon DateMax
  • RPL Object Icon NextDate
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates
  • RPL Object Icon RunStartDate
  • RPL Object Icon GetSlotVals
  • RPL Object Icon GetNumbers

Control Display Icon 3.3.6 RPL Object Icon Initialize Pre-Run Return Flows to 0 for Routing

Statements

Statements

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetDates
  • RPL Object Icon ColumnLabels
  • RPL Object Icon GetSlotName
  • RPL Object Icon GetNumbers
  • RPL Object Icon GetSeriesSlots

Control Display Icon 3.4 RPL Object Icon Initialize ETAC and Interpolation/Disaggregation Method

Once this is run once with correct data, this group can be turned off to speed up run time (by almost 5 minutes on my computer), as the final results are posted to the Water User Objects with Z (DMI Input) flag and thus will be retained by model throughout runs.

If any ETAC water user data is changed, make sure this group is on to catch up these calcs.

TV 3/3/16

Control Display Icon 3.4.1 RPL Object Icon Setup ETAC Water Users with Disaggregation Results


This sets up the ETAC water users for the Baseline run. It propagates the irrigated areas (acres) and minimum efficiencies into their timeseries slots, and inputs the daily ET rates, which are chosen by selecting one of the previous three rules.

TV Jan 2016

Statements

Statements

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetDates

Control Display Icon 3.4.2 RPL Object Icon Initialize Daily ETAC CIR - New Disagg Set Final - RECOMMENDED


This sets the "ETAC method" ET (CIR) rates to the water user objects using the daily ET rates from the new disaggregation/interpolation method completed in the prior Initialization Rules.

I recommend using this method, although it does extend run time.

TV Jan 2016

Statements

Statements

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetDates

Control Display Icon 3.4.3 RPL Object Icon Initialize Daily ETAC CIR - Monthly Avg Method


This sets the "ETAC method" ET (CIR) rates to the water user objects using the monthly average ET rates.

TV Jan 2016

Statements

Statements

Control Display Icon 3.4.4 RPL Object Icon Save Example 5th Iteration

Statements

Statements

Referenced Functions

  • RPL Object Icon GetDates

Control Display Icon 3.4.5 RPL Object Icon 5 Initialize Daily ETAC CIR New Disagg Step 2 - Adjust for Monthly Volumes

Statements

Statements

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetDates

Control Display Icon 3.4.6 RPL Object Icon 5 Initialize Daily ETAC CIR New Disagg Step 1.5 - Calc Interim Avgs

Statements

Statements

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon ListSubbasin
  • RPL Object Icon Sum
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates
  • RPL Object Icon GetSlotVals

Control Display Icon 3.4.7 RPL Object Icon 5 Initialize Daily ETAC CIR New Disagg Step 1 - Running Avg

Statements

Statements

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon SumSlot
  • RPL Object Icon DateMin
  • RPL Object Icon DateMax
  • RPL Object Icon GetDates

Control Display Icon 3.4.8 RPL Object Icon Save Example 4th Iteration

Statements

Statements

Referenced Functions

  • RPL Object Icon GetDates

Control Display Icon 3.4.9 RPL Object Icon 4 Initialize Daily ETAC CIR New Disagg Step 2 - Adjust for Monthly Volumes

Statements

Statements

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetDates

Control Display Icon 3.4.10 RPL Object Icon 4 Initialize Daily ETAC CIR New Disagg Step 1.5 - Calc Interim Avgs

Statements

Statements

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon ListSubbasin
  • RPL Object Icon Sum
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates
  • RPL Object Icon GetSlotVals

Control Display Icon 3.4.11 RPL Object Icon 4 Initialize Daily ETAC CIR New Disagg Step 1 - Running Avg

Statements

Statements

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon SumSlot
  • RPL Object Icon DateMin
  • RPL Object Icon DateMax
  • RPL Object Icon GetDates

Control Display Icon 3.4.12 RPL Object Icon Save Example 3rd Iteration

Statements

Statements

Referenced Functions

  • RPL Object Icon GetDates

Control Display Icon 3.4.13 RPL Object Icon 3 Initialize Daily ETAC CIR New Disagg Step 2 - Adjust for Monthly Volumes

Statements

Statements

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetDates

Control Display Icon 3.4.14 RPL Object Icon 3 Initialize Daily ETAC CIR New Disagg Step 1.5 - Calc Interim Avgs

Statements

Statements

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon ListSubbasin
  • RPL Object Icon Sum
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates
  • RPL Object Icon GetSlotVals

Control Display Icon 3.4.15 RPL Object Icon 3 Initialize Daily ETAC CIR New Disagg Step 1 - Running Avg

Statements

Statements

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon SumSlot
  • RPL Object Icon DateMin
  • RPL Object Icon DateMax
  • RPL Object Icon GetDates

Control Display Icon 3.4.16 RPL Object Icon Save Example 2nd Iteration

Statements

Statements

Referenced Functions

  • RPL Object Icon GetDates

Control Display Icon 3.4.17 RPL Object Icon 2 Initialize Daily ETAC CIR New Disagg Step 2 - Adjust for Monthly Volumes

Statements

Statements

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetDates

Control Display Icon 3.4.18 RPL Object Icon 2 Initialize Daily ETAC CIR New Disagg Step 1.5 - Calc Interim Avgs

Statements

Statements

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon ListSubbasin
  • RPL Object Icon Sum
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates
  • RPL Object Icon GetSlotVals

Control Display Icon 3.4.19 RPL Object Icon 2 Initialize Daily ETAC CIR New Disagg Step 1 - Running Avg

Statements

Statements

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon SumSlot
  • RPL Object Icon DateMin
  • RPL Object Icon DateMax
  • RPL Object Icon GetDates

Control Display Icon 3.4.20 RPL Object Icon Save Example 1st Iteration

Statements

Statements

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon GetDates

Control Display Icon 3.4.21 RPL Object Icon Initialize Daily ETAC CIR New Disagg Step 2 - Adjust for Monthly Volumes

Statements

Statements

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetDates

Control Display Icon 3.4.22 RPL Object Icon Initialize Daily ETAC CIR New Disagg Step 1.5 - Calc Interim Avgs

Statements

Statements

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon ListSubbasin
  • RPL Object Icon Sum
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates
  • RPL Object Icon GetSlotVals

Control Display Icon 3.4.23 RPL Object Icon Initialize Daily ETAC CIR New Disagg Step 1 - Running Avg

Statements

Statements

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon SumSlot
  • RPL Object Icon DateMin
  • RPL Object Icon DateMax
  • RPL Object Icon GetDates

Control Display Icon 3.4.24 RPL Object Icon Initialize Daily ETAC CIR New Disagg Step 0 - Start at Monthly Avgs

Statements

Statements

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetDates

Control Display Icon 3.5 RPL Object Icon Run Setup

Control Display Icon 3.5.1 RPL Object Icon Make Climate Change CIR/ET Adjustments If Applicable (Or Set Back To Baseline)

Statements

Statements

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon ListSubbasin
  • RPL Object Icon Min
  • RPL Object Icon IntegerToString
  • RPL Object Icon NextDate
  • RPL Object Icon GetDates
  • RPL Object Icon RowLabels

Control Display Icon 3.5.2 RPL Object Icon Make Climate Change Reservoir Evaporation Rate Adjustments If Applicable (Or Set Back To Baseline)

Statements

Statements

Referenced Functions

  • RPL Object Icon HeronClimateChangeAdjustmentFactor
  • RPL Object Icon Sum
  • RPL Object Icon Min
  • RPL Object Icon IntegerToString
  • RPL Object Icon NumRows
  • RPL Object Icon GetSlotVals
  • RPL Object Icon GetNumbers
  • RPL Object Icon RowLabels

Control Display Icon 3.5.3 RPL Object Icon Calculate Maintenance Release Volumes

Statements

Statements

Referenced Functions

  • RPL Object Icon RunStartDate
  • RPL Object Icon ElevationToStorage
  • RPL Object Icon GetNumbers
  • RPL Object Icon FlowToVolume

Control Display Icon 3.5.4 RPL Object Icon Set ETAC Water User Acres and Efficiencies - Must be R Flags

Statements

Statements

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetDates
  • RPL Object Icon GetObject
  • RPL Object Icon RowLabels

Control Display Icon 3.5.5 RPL Object Icon NOT SET UP THIS WAY ANYMORE Set Run Demands Type and Restoration Release Type - Baseline vs. Current Conditions

Statements

Statements

Control Display Icon 3.5.6 RPL Object Icon Set Run Finished Completely Flag to 0

Statements

Statements

Referenced Functions

  • RPL Object Icon NextDate

Control Display Icon 3.6 RPL Object Icon Initialization Functions

Control Display Icon 3.6.1 RPL Object Icon EndOfMonthDate

Return Type: DATETIME

Arguments:

  • DATETIME dateTime

Body

Body

Referenced Functions

  • RPL Object Icon NextDate

Control Display Icon 3.6.2 RPL Object Icon Return1

Return Type: NUMERIC

Arguments: None

Body

Body

Control Display Icon 3.6.3 RPL Object Icon CurrentScenarioStateModInputsDataObject

Return Type: OBJECT

Arguments: None

Body

Body

Control Display Icon 4 Main Ruleset

This ruleset is used to run the SJRIP RiverWare model.

Control Display Icon 4.1 RPL Object Icon End Of Run Rules

Control Display Icon 4.1.1 RPL Object Icon Mark Run Finished Completely

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.1.2 RPL Object Icon Check NIIP GW Calibration

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Abs
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.1.3 RPL Object Icon Calculate Average Annual Diversions and Depletions

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon Split

Control Display Icon 4.1.4 RPL Object Icon RC4 - Sum Annual Diversions and Depletions

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon SumSlotSkipNaN
  • RPL Object Icon ListSubbasin
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon Split

Control Display Icon 4.1.5 RPL Object Icon RC3 - Sum Annual Diversion and Depletion Requests

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon ListSubbasin
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon Split

Control Display Icon 4.1.6 RPL Object Icon Verify Supplemental Water was Removed

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon Abs
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.2 RPL Object Icon End of Timestep Rules

Control Display Icon 4.2.1 RPL Object Icon Save Final Daily Flood Control Reach Flows by Run Cycle

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon IntegerToString
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon GetObject
  • RPL Object Icon ColumnLabels
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.2.2 RPL Object Icon Save Final Daily Mainstem Diversion and Return Flow by Run Cycle

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon ListDownstreamObjects
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon FilterByObjType
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.3 RPL Object Icon Navajo Ops - Cycle 4

Control Display Icon 4.3.1 RPL Object Icon NOT YET FINISHED OR IMPLEMENTED -------- RC4 - Coming out of Shortage Years Only - Apply Supplemental Water Correction

Statements

Statements

Execution Constraint

Execution Constraint

Control Display Icon 4.3.2 RPL Object Icon REMEMBER THE CHANGES FOR CLIMATE CHANGE RUNS ---------- Set Navajo Cycle 4 Release and Remove Supplemental Water

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon MaxItem
  • RPL Object Icon Abs
  • RPL Object Icon Min
  • RPL Object Icon MinItem
  • RPL Object Icon GetMaxReleaseGivenInflow
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon TableInterpolation
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.3.3 RPL Object Icon Cycle 4 Calculate Downstream Flood Control Limited Navajo Release

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon MaxItem
  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon GetMaxReleaseGivenInflow
  • RPL Object Icon HypSim
  • RPL Object Icon HypTargetSimWithStatus
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon GetObject
  • RPL Object Icon ColumnLabels
  • RPL Object Icon TableInterpolation
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.3.4 RPL Object Icon Cycle 4 Calculate Navajo Flood Control Release

Computes Navajo release to meet demands with baseflow bypasses set.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon MaxItem
  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon GetMinSpillGivenInflowRelease
  • RPL Object Icon GetMaxReleaseGivenInflow
  • RPL Object Icon SolveStorage
  • RPL Object Icon SolveOutflow
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon TableInterpolation
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.3.5 RPL Object Icon Cycle 4 Calculate Navajo Release Demand With Baseflow Requirements

Computes Navajo release to meet demands with baseflow bypasses set.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon NetSubBasinDiversionRequirement
  • RPL Object Icon ListDownstreamObjects
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.3.6 RPL Object Icon Cycle 4 Calculate Downstream Baseflow Requirements - Three Gage Average - With Reduced Target Baseflows

Sets engineering slot values from data object slot values.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon ThreeGageBypassesNEW
  • RPL Object Icon Abs
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.4 RPL Object Icon Shortage Sharing Rules - Cycle 4

Control Display Icon 4.4.1 RPL Object Icon NO LONGER DONE LIKE THIS - RC4 - March 1 of Shortage Years Only - Reduce Baseflows for Shortage

Statements

Statements

Execution Constraint

Execution Constraint

Control Display Icon 4.4.2 RPL Object Icon RC4 - March 1 of Shortage Years Only - Reduce Irrigator Demands for Shortage - Proportional Reduction of Depletion Request

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon ShortageSlotWUName
  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon CompletePartialDate
  • RPL Object Icon PreviousDate
  • RPL Object Icon NumberToDate
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon FlowToVolume
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.4.3 RPL Object Icon RC4 - March 1 of Shortage Years Only - Reduce M&I and NIIP Demands for Shortage - Proportional Reduction of Diversion Request

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon ShortageSlotWUName
  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon Max
  • RPL Object Icon CompletePartialDate
  • RPL Object Icon NumberToDate
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.4.4 RPL Object Icon RC4 - March 1 of Shortage Years Only - Apply Shortage to SJC

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon Max
  • RPL Object Icon CompletePartialDate
  • RPL Object Icon PreviousDate
  • RPL Object Icon NumberToDate
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon FlowToVolume
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.4.5 RPL Object Icon TURN ON WHEN NEEDED ----- RC4 - March 1 of Shortage Years Only - EXTEND SHORTAGES TO NEXT YEAR IF NEEDED - Adjust Shortage Percentage and Volumes Based on Current Storage Deviation

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon ShortageSlotWUName
  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon CompletePartialDate
  • RPL Object Icon NumberToDate
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.4.6 RPL Object Icon RC4 STO - Calculate Shortage Volumes by Users

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon ShortageSlotWUName
  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon CompletePartialDate
  • RPL Object Icon NumberToDate
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.4.7 RPL Object Icon RC4 STO - Calculate Shortage Percentage

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon ShortageSlotWUName
  • RPL Object Icon Min
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.4.8 RPL Object Icon RC4 STO - Sum Annual Shortage and Shortage Sharing Water User Diversion Volumes

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon ShortageSlotWUName
  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon CompletePartialDate
  • RPL Object Icon NumberToDate
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon FlowToVolume
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.5 RPL Object Icon Navajo Ops - Cycle 3

Control Display Icon 4.5.1 RPL Object Icon Run Cycle 3 Final Timestep Only - Save Cycle 3 Navajo Ops

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon GetDates
  • RPL Object Icon GetRunCycleIndex

Control Display Icon 4.5.2 RPL Object Icon Set Navajo Cycle 3 Release - With Supplemental Water

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon MaxItem
  • RPL Object Icon Min
  • RPL Object Icon MinItem
  • RPL Object Icon GetMaxReleaseGivenInflow
  • RPL Object Icon SolveInflow
  • RPL Object Icon SolveStorage
  • RPL Object Icon ElevationToStorage
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon TableInterpolation
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon StorageToElevation

Control Display Icon 4.5.3 RPL Object Icon Cycle 3 Calculate Downstream Flood Control Limited Navajo Release

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon MaxItem
  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon GetMaxReleaseGivenInflow
  • RPL Object Icon HypSim
  • RPL Object Icon HypTargetSimWithStatus
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon GetObject
  • RPL Object Icon ColumnLabels
  • RPL Object Icon TableInterpolation
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.5.4 RPL Object Icon Cycle 3 Calculate Navajo Flood Control Release

Computes Navajo release to meet demands with baseflow bypasses set.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon MaxItem
  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon GetMinSpillGivenInflowRelease
  • RPL Object Icon GetMaxReleaseGivenInflow
  • RPL Object Icon SolveStorage
  • RPL Object Icon SolveOutflow
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon TableInterpolation
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.5.5 RPL Object Icon Cycle 3 Calculate Navajo Flood Control Storage

Computes Navajo release to meet demands with baseflow bypasses set.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon Max
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.5.6 RPL Object Icon Cycle 3 Calculate Navajo Release Demand With Baseflow Requirements

Computes Navajo release to meet demands with baseflow bypasses set.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon NetSubBasinDiversionRequirement
  • RPL Object Icon ListDownstreamObjects
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.5.7 RPL Object Icon Cycle 3 Set Downstream Baseflow Requirements - Three Gage Average

Sets engineering slot values from data object slot values.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon ThreeGageBypassesNEW
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.6 RPL Object Icon Old Flow Recs - 1996 BO Flow Recommendations Operations

Control Display Icon 4.6.1 RPL Object Icon Set Old Flushing Release as Release Schedule

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.6.2 RPL Object Icon 1996 BO Flow Recs Nose Adjusted Release

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon MakeListOfDatesAndValues
  • RPL Object Icon FlushingStartDate
  • RPL Object Icon ComputeNoseAdjustedRelease
  • RPL Object Icon GetDates
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.6.3 RPL Object Icon 1996 BO Flow Recs Compute Excess Water

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon ComputedExcessFlushingVolume
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.6.4 RPL Object Icon 1996 BO Flow Recs Store Unadjusted Flushing Release

Computes unadjusted flushing release and stores in a interim slot.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon MakeListOfDatesAndValues
  • RPL Object Icon MakeUnadjustedFlowList
  • RPL Object Icon GetDates
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.6.5 RPL Object Icon 1996 BO Flow Recs Set Last Pattern

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.6.6 RPL Object Icon 1996 BO Flow Recs Set Pattern

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.6.7 RPL Object Icon 1996 BO Flow Recs Set Last Release Type and Water Supply

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.6.8 RPL Object Icon 1996 BO Flow Recs Set Release Type

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Gen2GetReleaseTypeGivenPath
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.6.9 RPL Object Icon 1996 BO Flow Recs Set Last Path

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.6.10 RPL Object Icon 1996 BO Flow Recs Path 16 Longterm Lookback At Four Corners

Looks at Stateline gains flows for past n years and if sum of May and June
less than threshold (LookbackVolume) and release keeps Navajo ok,
make a maximum release. This is path 16 in pattern setting.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Gen2GetReleaseTypeGivenPath
  • RPL Object Icon SumFlowValueToVolume
  • RPL Object Icon GageWasShortInMayAndJune
  • RPL Object Icon EstimatedEndOfPeriodNavajoContent
  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon GetMonthAsString
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon StorageToElevation

Control Display Icon 4.6.11 RPL Object Icon 1996 BO Flow Recs Path 17 Short Term Lookback At Four Corners

Looks at Stateline gains flows for past n years and if sum of May and June
less than threshold (LookbackVolume) and release keeps Navajo ok,
make a specified release. This is path 17 in pattern setting.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Gen2GetReleaseTypeGivenPath
  • RPL Object Icon SumFlowValueToVolume
  • RPL Object Icon GageWasShortInMayAndJune
  • RPL Object Icon EstimatedEndOfPeriodNavajoContent
  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon GetMonthAsString
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon StorageToElevation

Control Display Icon 4.6.12 RPL Object Icon 1996 BO Flow Recs Set Decision Tree Path

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Gen2SetFlushingFlowsPath
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.6.13 RPL Object Icon 1996 BO Flow Recs Compute Water Available

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon TotalAvailableWaterBySlotNoErr
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.6.14 RPL Object Icon 1996 BO Flow Recs Estimate Probable Spill

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SurplusVolumeBySlotNoErr
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.6.15 RPL Object Icon Compute Model Perturbations (and Optionally Apply Them Instead of Using Historic)

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon CountPerturbationEventsLAG
  • RPL Object Icon CountPerturbationEventsNOLAG
  • RPL Object Icon GetYear
  • RPL Object Icon GetRunCycleIndex

Control Display Icon 4.7 RPL Object Icon RUN C - 2016 Flow Recommendation Analysis Rules - REMEMBER TO SET EOWYST SLOT TO 6050

Control Display Icon 4.7.1 RPL Object Icon RUN C - Sum SPR Schedule Volumes

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.7.2 RPL Object Icon RUN C - Make Final SPR Schedule, Add Non Nose Excess

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Floor
  • RPL Object Icon Max
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.7.3 RPL Object Icon RUN C - Shift SPR Schedule to Match Animas Peak

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon DateMin
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.7.4 RPL Object Icon RUN C - Find Animas Peak

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon MaxItem
  • RPL Object Icon GetDatesCentered
  • RPL Object Icon GetDates
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.7.5 RPL Object Icon RUN C - Extend 5000 cfs Nose, Make Base and Nose Schedule

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Floor
  • RPL Object Icon Max
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.7.6 RPL Object Icon RUN C - Make Run C Spring Peak Release Schedule - Fill 5000 cfs days

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Floor
  • RPL Object Icon Max
  • RPL Object Icon Ceiling
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.7.7 RPL Object Icon RUN C - Make Run C Initial Spring Peak Release Schedule

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.7.8 RPL Object Icon RUN C - Set Release Type, Volume, Calc Excess Water, Calc Nose Volume, Etc

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon ElevationToStorage
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.7.9 RPL Object Icon RUN C - RC1 STO - Verify EOWYST Value and SJRIP Release Setup

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Abs
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.8 RPL Object Icon RUN C with MAINTENANCE RELEASES - 2016 Flow Recommendation Analysis Rules - REMEMBER TO SET EOWYST SLOT TO 6050

Control Display Icon 4.8.1 RPL Object Icon RUN C - Sum SPR Schedule Volumes

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.8.2 RPL Object Icon RUN C - Make Final SPR Schedule, Add Non Nose Excess

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Floor
  • RPL Object Icon Max
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.8.3 RPL Object Icon MRs - Make and Insert Maintenance Release Schedule

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Floor
  • RPL Object Icon GetNumbers
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.8.4 RPL Object Icon RUN C - Shift SPR Schedule to Match Animas Peak

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon DateMin
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.8.5 RPL Object Icon RUN C - Find Animas Peak

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon MaxItem
  • RPL Object Icon GetDatesCentered
  • RPL Object Icon GetDates
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.8.6 RPL Object Icon RUN C - Extend 5000 cfs Nose, Make Base and Nose Schedule

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Floor
  • RPL Object Icon Max
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.8.7 RPL Object Icon RUN C - Make Run C Spring Peak Release Schedule - Fill 5000 cfs days

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Floor
  • RPL Object Icon Max
  • RPL Object Icon Ceiling
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.8.8 RPL Object Icon RUN C - Make Run C Initial Spring Peak Release Schedule

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.8.9 RPL Object Icon RUN C with MRs - Set Release Type, Volume, Calc Excess Water, Calc Nose Volume, Etc

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon DetermineMRReleases
  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon ElevationToStorage
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.8.10 RPL Object Icon RUN C - RC1 STO - Verify EOWYST Value and SJRIP Release Setup

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Abs
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.8.11 RPL Object Icon Compute Model Perturbations (and Optionally Apply Them Instead of Using Historic)

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon CountPerturbationEventsLAG
  • RPL Object Icon CountPerturbationEventsNOLAG
  • RPL Object Icon GetYear
  • RPL Object Icon GetRunCycleIndex

Control Display Icon 4.9 RPL Object Icon RUN B - 2016 Flow Recommendation Analysis Rules - REMEMBER TO SET EOWYST SLOT TO 6050

Control Display Icon 4.9.1 RPL Object Icon RUN B - Sum SPR Schedule Volumes

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.9.2 RPL Object Icon RUN B - Make Final SPR Schedule, Add Non Nose Excess

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Floor
  • RPL Object Icon Max
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.9.3 RPL Object Icon RUN B - Add Base and Nose Schedules

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.9.4 RPL Object Icon RUN B - Make Nose Schedule

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.9.5 RPL Object Icon RUN B - Make Base Spring Peak Release Schedule

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.9.6 RPL Object Icon RUN B - Set Release Type, Volume, Calc Excess Water, Calc Nose Volume, Etc

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon ElevationToStorage
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon TableLookupDefaultTol

Control Display Icon 4.9.7 RPL Object Icon RUN B - RC1 STO - Verify EOWYST Value

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Abs
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.10 RPL Object Icon RUN A - 2016 Flow Recommendation Analysis Rules - REMEMBER TO SET EOWYST SLOT TO 6063

Control Display Icon 4.10.1 RPL Object Icon RUN A - Sum SPR Schedule Volumes

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.10.2 RPL Object Icon RUN A - Make Final SPR Schedule, Add Non Nose Excess

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Floor
  • RPL Object Icon Max
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.10.3 RPL Object Icon RUN A - Add Base and Nose Schedules

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.10.4 RPL Object Icon RUN A - Make Nose Schedule

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.10.5 RPL Object Icon RUN A - Make Base Spring Peak Release Schedule

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.10.6 RPL Object Icon RUN A - Set Release Type, Volume, Calc Excess Water, Calc Nose Volume, Etc

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon TableLookupDefaultTol

Control Display Icon 4.10.7 RPL Object Icon RUN A - RC1 STO - Verify EOWYST Value

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Abs
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.11 RPL Object Icon 2016 Flow Recommendations - Available Water Calculation Rules - Cycle 3

Control Display Icon 4.11.1 RPL Object Icon Compute Available Water

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon ElevationToStorage
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon StorageToElevation

Control Display Icon 4.11.2 RPL Object Icon Sum Required Daily Releases to Meet Target Baseflow from Run Cycle 2

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.11.3 RPL Object Icon Estimate Flow Volumes for Available Water Calcs

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon EstimateEvaporation
  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon PreviousDate
  • RPL Object Icon NextDate
  • RPL Object Icon ElevationToArea
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon StorageToArea

Control Display Icon 4.12 RPL Object Icon Navajo Target Baseflow Ops - Cycle 2

Control Display Icon 4.12.1 RPL Object Icon Run Cycle 2 Final Timestep Only - Save Cycle 2 Navajo Ops

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon GetDates
  • RPL Object Icon GetRunCycleIndex

Control Display Icon 4.12.2 RPL Object Icon Calc and Set Navajo Cycle 2 Release

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon GetMaxReleaseGivenInflow
  • RPL Object Icon NetSubBasinDiversionRequirement
  • RPL Object Icon ListDownstreamObjects
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon TableInterpolation
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.12.3 RPL Object Icon Set Downstream Baseflow Requirements - Three Gage Average

Sets engineering slot values from data object slot values.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon ThreeGageBypassesNEW
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.13 RPL Object Icon ALP Normal Operations - Cycle 2

Control Display Icon 4.13.1 RPL Object Icon Stop Run if StateMod Diversions Aren't Met

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon GetRunCycleIndex

Control Display Icon 4.13.2 RPL Object Icon Set Ridges Basin Release

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon MinItem
  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetMaxReleaseGivenInflow
  • RPL Object Icon SolveOutflow
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.13.3 RPL Object Icon Set Final Supply To RBR Diversions

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Abs
  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon SolveOutflow
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.13.4 RPL Object Icon Set Remaining ALPDurango Demand from RBR

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.13.5 RPL Object Icon Calculate and Set Durango and RBR Pumping

Computes available for diversion (pumping) for normal ALP operation.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon MinItem
  • RPL Object Icon ListSubbasin
  • RPL Object Icon SolveInflow
  • RPL Object Icon GetMonthAsString
  • RPL Object Icon NetSubBasinDiversionRequirement
  • RPL Object Icon ListDownstreamObjects
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.13.6 RPL Object Icon Set Initial Supply To RBR Diversions

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon SolveOutflow
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.13.7 RPL Object Icon Initially Set ALP/RBR Operations to Zeros

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.14 RPL Object Icon Reoperate San Juan Chama - Cycle 1

Control Display Icon 4.14.1 RPL Object Icon Run Cycle 1 and 4 Final Timestep Only - Sum San Juan Chama Diversion Volumes

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex

Control Display Icon 4.14.2 RPL Object Icon Run Cycle 1 Final Timestep Only - Verify Mass Balance for Applied SJC Adjustments

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Abs
  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex

Control Display Icon 4.14.3 RPL Object Icon Run Cycle 1 Final Timestep Only - SJC StateMod Adjustment

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon GetDaysInMonth
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon FlowToVolume
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.14.4 RPL Object Icon Accumulate Monthly Annual and Decade Totals

Sets Heron Outflow as a function of demand and shortages.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon EndOfYearDate
  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon PreviousDate
  • RPL Object Icon NextDate
  • RPL Object Icon FlowToVolume
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.14.5 RPL Object Icon Limit SJC Oso Diversion Request

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon MinItem
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.14.6 RPL Object Icon Limit SJC Little Oso Diversion Request

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon MinItem
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.14.7 RPL Object Icon Limit SJC Blanco Diversion Request

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon MinItem
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.14.8 RPL Object Icon Calculate Heron Inflow Limit and SJC Annual and Decade Limits

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon HeronClimateChangeAdjustmentFactor
  • RPL Object Icon SJCAnnualLimit
  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon SJCDecadeLimit
  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon Max
  • RPL Object Icon PreviousDate
  • RPL Object Icon SolveInflow
  • RPL Object Icon NextDate
  • RPL Object Icon ElevationToStorage
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.14.9 RPL Object Icon Set Heron Outflow

Sets Heron Outflow as a function of demand and shortages.

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon HeronClimateChangeAdjustmentFactor
  • RPL Object Icon MinItem
  • RPL Object Icon GetMaxReleaseGivenInflow
  • RPL Object Icon SolveOutflow
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon TableInterpolation
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.15 RPL Object Icon REIMPLEMENT THIS ------- Refiring Rules

Control Display Icon 4.15.1 RPL Object Icon REFIRING - RESET IAWs AS NEEDING TO FORCE DISPATCHING or however to get it to work...

Sets Heron Outflow as a function of demand and shortages.

Statements

Statements

Control Display Icon 4.16 RPL Object Icon Start Timestep Only Rules

Control Display Icon 4.16.1 RPL Object Icon RC2 STO - Pattern Enterprise and Pioneer Diversions by StateMod Supply

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon Min
  • RPL Object Icon PreviousDate
  • RPL Object Icon DateMin
  • RPL Object Icon DateMax
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon FlowToVolume
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.16.2 RPL Object Icon RC1 STO - Sum and Check Adjusted Tribal Irrigation Demand Volumes

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.16.3 RPL Object Icon RC1 STO - Adjust Tribal Acres and Demands based on Decreed Maximum Volumes

Statements

Statements

Execution Constraint

Execution Constraint

Referenced Functions

  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon Min
  • RPL Object Icon Sum
  • RPL Object Icon Max
  • RPL Object Icon PreviousDate
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon FlowToVolume
  • RPL Object Icon GetRunCycleIndex
  • RPL Object Icon HasRuleFiredSuccessfully

Control Display Icon 4.17 RPL Object Icon Generic Functions

Functions that support generic rule set.

Control Display Icon 4.17.1 RPL Object Icon EstimateEvaporation

Estimates furture reservoir evaporation form startDate (usually current time step)
thru endDate. Additional argument of meanArea is estimated average surface
area during interval.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • NUMERIC meanArea
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon GetDayOfYear
  • RPL Object Icon TableInterpolation

Control Display Icon 4.17.2 RPL Object Icon GetMeanArea

Computes mean surface area for 2 storage values.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • NUMERIC startStorage
  • NUMERIC endStorage

Body

Body

Referenced Functions

  • RPL Object Icon StorageToArea

Control Display Icon 4.17.3 RPL Object Icon PreviousElevation

Returns previous elevation of reservoir.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir

Body

Body

Control Display Icon 4.17.4 RPL Object Icon PreviousStorage

Returns previous storage of reservoir.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir

Body

Body

Control Display Icon 4.17.5 RPL Object Icon FindFlowGivenDateFromLists

Returns flow for given date from a lists of flows and dates.

Return Type: NUMERIC

Arguments:

  • DATETIME date
  • LIST flowsList
  • LIST datesList

Body

Body

Control Display Icon 4.17.6 RPL Object Icon InsertDateValueSetIntoList

Inserts a date and value set into a list of flows and dates.

Return Type: LIST

Arguments:

  • DATETIME date
  • NUMERIC value

Body

Body

Control Display Icon 4.17.7 RPL Object Icon MakeForLoopList

Makes a list of indeces for use in a For Loop.

Return Type: LIST

Arguments:

  • NUMERIC numberIndices

Body

Body

Control Display Icon 4.17.8 RPL Object Icon MakeListGivenValuePoints

Make a list of values for a given value and number of points.

Return Type: LIST

Arguments:

  • NUMERIC valueToList
  • NUMERIC numberPoints

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList

Control Display Icon 4.17.9 RPL Object Icon MakeListOfDatesAndValues

Returns a list of dates and values.

Return Type: LIST

Arguments:

  • LIST values
  • LIST dates

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon InsertDateValueSetIntoList

Control Display Icon 4.17.10 RPL Object Icon StringDay

Returns a string version of day of month given diminsionless day of month.

Return Type: STRING

Arguments:

  • NUMERIC day

Body

Body

Control Display Icon 4.17.11 RPL Object Icon StringMonth

Returns string month given month.

Return Type: STRING

Arguments:

  • NUMERIC month

Body

Body

Control Display Icon 4.17.12 RPL Object Icon DateIsBetween

Checks if dateA falls between dateB and dateC inclusively.

Return Type: BOOLEAN

Arguments:

  • DATETIME dateA
  • DATETIME dateB
  • DATETIME dateC

Body

Body

Control Display Icon 4.17.13 RPL Object Icon EndOfMonthDate

Returns end of month date given date.

Return Type: DATETIME

Arguments:

  • DATETIME dateTime

Body

Body

Referenced Functions

  • RPL Object Icon NextDate

Control Display Icon 4.17.14 RPL Object Icon EndOfYearDate

Return Type: DATETIME

Arguments:

  • DATETIME dateTime

Body

Body

Referenced Functions

  • RPL Object Icon NextDate

Control Display Icon 4.17.15 RPL Object Icon SumDailyFlowsInListToVolume

Sums daily flows in provided list to a volume.

Return Type: NUMERIC

Arguments:

  • LIST listToSum

Body

Body

Referenced Functions

  • RPL Object Icon Sum

Control Display Icon 4.17.16 RPL Object Icon SumFlowValueToVolume

Sum specified flow value to a volume for specified time period.

Return Type: NUMERIC

Arguments:

  • DATETIME startDate
  • DATETIME endDate
  • NUMERIC valueToSum

Body

Body

Referenced Functions

  • RPL Object Icon FlowToVolume

Control Display Icon 4.17.17 RPL Object Icon SumPeriodicFlowToVolume

Sums a periodic slot flow to a volume for specified time period.

Return Type: NUMERIC

Arguments:

  • SLOT slot
  • DATETIME startDate
  • DATETIME endDate
  • STRING column

Body

Body

Referenced Functions

  • RPL Object Icon FlowToVolume

Control Display Icon 4.18 RPL Object Icon New Functions

Control Display Icon 4.18.1 RPL Object Icon ThreeGageBypassesNEW

Computes bypass flows using the three gage criteria.

Return Type: LIST

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon CompletePartialDate
  • RPL Object Icon NumberToDate
  • RPL Object Icon GetDates
  • RPL Object Icon NextDate
  • RPL Object Icon FlowToVolume
  • RPL Object Icon GetRunCycleIndex

Control Display Icon 4.18.2 RPL Object Icon ShortageSlotWUName

Return Type: STRING

Arguments:

  • OBJECT wu

Body

Body

Referenced Functions

  • RPL Object Icon Split

Control Display Icon 4.18.3 RPL Object Icon DetermineMRReleases

Return Type: LIST

Arguments:

  • NUMERIC reltype
  • NUMERIC AW

Body

Body

Referenced Functions

  • RPL Object Icon Sum
  • RPL Object Icon Max
  • RPL Object Icon PreviousDate
  • RPL Object Icon ElevationToStorage
  • RPL Object Icon GetSlotVals
  • RPL Object Icon ColumnLabels
  • RPL Object Icon TableLookupDefaultTol

Control Display Icon 4.19 RPL Object Icon San Juan Chama Functions

Control Display Icon 4.19.1 RPL Object Icon SJCAnnualLimit

Computes maximum inflow that Heron can receive given expected release and current storage conditions.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.19.2 RPL Object Icon SJCDecadeLimit

Computes maximum inflow that Heron can receive given expected release and current storage conditions.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon SJCDecadeTotal
  • RPL Object Icon Max
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.19.3 RPL Object Icon SJCDecadeTotal

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon EndOfYearDate
  • RPL Object Icon OffsetDate
  • RPL Object Icon GetDates

Control Display Icon 4.20 RPL Object Icon Old Flow Recs Functions

Control Display Icon 4.20.1 RPL Object Icon Gen2GetReleaseTypeGivenPath

Get flushing flows release type given path, spill, and available water.

Return Type: NUMERIC

Arguments:

  • NUMERIC path

Body

Body

Referenced Functions

  • RPL Object Icon MaximumReleaseType
  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon Max

Control Display Icon 4.20.2 RPL Object Icon Gen2SetFlushingFlowsPath

Sets path by 1996 BO Flow Recseration decision tree.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon GetHistoricReleaseVolumes
  • RPL Object Icon MaxItem

Control Display Icon 4.20.3 RPL Object Icon TotalExcessVolumes

Makes a list of total excess volumes.
NOTE - I believe that BV has an error, or at least an inconsistency, between
the pre flushing release period and the during flushing release period.
He limits the during period to the peak release here whereas he does not
limit the pre flushing release here. DLK

Return Type: LIST

Arguments:

  • NUMERIC releaseType
  • DATETIME flushingStartDate
  • DATETIME periodStartDate

Body

Body

Referenced Functions

  • RPL Object Icon AdditionalNoseWater
  • RPL Object Icon PreFlushingReleaseNoseWater
  • RPL Object Icon IncrementalExcessFlows

Control Display Icon 4.20.4 RPL Object Icon TotalFlushingVolume

Computes total flushing volume given release type.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon GetFlowDurationSlot

Control Display Icon 4.20.5 RPL Object Icon RowsInFlowDurationTable

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon GetFlowDurationSlot

Control Display Icon 4.20.6 RPL Object Icon PreFlushingReleaseNoseWater

Computes volume of nose water prior to flushing release.

Return Type: NUMERIC

Arguments:

  • NUMERIC incrementalRelease
  • DATETIME flushingStartDate
  • DATETIME periodStartDate

Body

Body

Referenced Functions

  • RPL Object Icon MakeListGivenValuePoints
  • RPL Object Icon SumDailyFlowsInListToVolume
  • RPL Object Icon GetJulianDate

Control Display Icon 4.20.7 RPL Object Icon PerturbationOccurred_REMOVED

Returns true if a perturbation occurred.

Return Type: BOOLEAN

Arguments: None

Body

Body

Control Display Icon 4.20.8 RPL Object Icon PerturbationGainsLAG

Computes gains as per perturbation computations with default lagging.

Return Type: NUMERIC

Arguments:

  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon OffsetDate

Control Display Icon 4.20.9 RPL Object Icon PerturbationGainsNOLAG

Computes gains as per perturbation computations with default lagging.

Return Type: NUMERIC

Arguments:

  • DATETIME datetime

Body

Body

Control Display Icon 4.20.10 RPL Object Icon OddDaysPeakDuration

Returns peak duration adjusted to always be an odd number of unitless days.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon FlushingPeakDuration
  • RPL Object Icon FlushingPeakElement

Control Display Icon 4.20.11 RPL Object Icon NavajoDescendingLimit

Constrains flow for descending case.

Return Type: NUMERIC

Arguments:

  • NUMERIC previousFlow

Body

Body

Referenced Functions

  • RPL Object Icon Min

Control Display Icon 4.20.12 RPL Object Icon NavajoAscendingLimit

Constrains flow for ascending case.

Return Type: NUMERIC

Arguments:

  • NUMERIC previousFlow

Body

Body

Referenced Functions

  • RPL Object Icon Max

Control Display Icon 4.20.13 RPL Object Icon MaximumReleaseType

Computes maximum release type given supply.

Return Type: NUMERIC

Arguments:

  • NUMERIC supply

Body

Body

Referenced Functions

  • RPL Object Icon IncrementalFlushingVolume

Control Display Icon 4.20.14 RPL Object Icon MakeUnadjustedFlowList

Make list of flows as a hydrograph without nose water integrated with minimum release.

Return Type: LIST

Arguments:

  • NUMERIC releaseType
  • LIST modelDates

Body

Body

Referenced Functions

  • RPL Object Icon FindFlowGivenDateFromLists
  • RPL Object Icon DateIsBetween
  • RPL Object Icon FlushingEndDate
  • RPL Object Icon FlushingStartDate
  • RPL Object Icon MakeNoExcessFlowList
  • RPL Object Icon GetDates

Control Display Icon 4.20.15 RPL Object Icon AdditionalNoseWater

Computes additonal water volume as flushing hydrograph is encountered.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType
  • NUMERIC noseFlow

Body

Body

Referenced Functions

  • RPL Object Icon MakeListGivenValuePoints
  • RPL Object Icon MakeForLoopList
  • RPL Object Icon SumDailyFlowsInListToVolume
  • RPL Object Icon FlushingPeakFlow
  • RPL Object Icon FlushingPeakElement
  • RPL Object Icon FlushingFlowsToPeak
  • RPL Object Icon FlushingDurationsToPeak
  • RPL Object Icon Min

Control Display Icon 4.20.16 RPL Object Icon AdjustedEndDate

Returns flushing release start date from actual hydrograph.

Return Type: DATETIME

Arguments:

  • SLOT slot

Body

Body

Referenced Functions

  • RPL Object Icon FlushingCenterDate
  • RPL Object Icon OffsetDate
  • RPL Object Icon GetDates

Control Display Icon 4.20.17 RPL Object Icon AdjustedStartDate

Returns flushing release end date from actual hydrograph.

Return Type: DATETIME

Arguments:

  • SLOT slot

Body

Body

Referenced Functions

  • RPL Object Icon GetDates

Control Display Icon 4.20.18 RPL Object Icon ApplyAverageNoseRelease

Applies average nose release to flushing flows.

Return Type: LIST

Arguments:

  • NUMERIC releaseType
  • DATETIME flushingStartDate
  • LIST flushingDates
  • SLOT slot
  • BOOLEAN rampingFlag

Body

Body

Referenced Functions

  • RPL Object Icon NavajoDescendingLimit
  • RPL Object Icon NavajoAscendingLimit
  • RPL Object Icon AverageNoseRelease
  • RPL Object Icon FlushingCenterDate
  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon OffsetDate

Control Display Icon 4.20.19 RPL Object Icon AverageNoseRelease

Computes average nose release given excess volume that is available.
Returns a default flow when no excess water is available or we do not meet
the minimum.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType
  • DATETIME flushingStartDate
  • DATETIME periodStartDate

Body

Body

Referenced Functions

  • RPL Object Icon BracketExcessFlowGivenExcessVolume
  • RPL Object Icon FlushingPeakFlow

Control Display Icon 4.20.20 RPL Object Icon BracketExcessFlowGivenExcessVolume

Given excess volume available for nose water, locate it in incremental volumes list
and return equivalent flow.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType
  • DATETIME flushingStartDate
  • DATETIME periodStartDate

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon TotalExcessVolumes
  • RPL Object Icon IncrementalExcessFlows

Control Display Icon 4.20.21 RPL Object Icon CountPerturbationEventsLAG

Counts number of events that meet perturbation criteria.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon PerturbationGainsLAG
  • RPL Object Icon Sum
  • RPL Object Icon DateMin
  • RPL Object Icon GetDates
  • RPL Object Icon GetSlotVals

Control Display Icon 4.20.22 RPL Object Icon CountPerturbationEventsOLDwERRORS

Counts number of events that meet perturbation criteria.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon Sum
  • RPL Object Icon DateMin
  • RPL Object Icon GetDates
  • RPL Object Icon GetSlotVals

Control Display Icon 4.20.23 RPL Object Icon CountPerturbationEventsNOLAG

Counts number of events that meet perturbation criteria.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon PerturbationGainsNOLAG
  • RPL Object Icon Sum
  • RPL Object Icon DateMin
  • RPL Object Icon GetDates
  • RPL Object Icon GetSlotVals

Control Display Icon 4.20.24 RPL Object Icon ComputedExcessFlushingVolume

Computes water not required to meet the incremental volume required by a given flushing release.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType
  • NUMERIC predictedSpill

Body

Body

Referenced Functions

  • RPL Object Icon AdjustedStartDate
  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon FlushingStartDate
  • RPL Object Icon Max

Control Display Icon 4.20.25 RPL Object Icon ComputeNoseAdjustedRelease

Computes Nose Adjusted Release

Return Type: LIST

Arguments:

  • DATETIME flushingStartDate
  • NUMERIC releaseType
  • SLOT slot
  • LIST modelDates
  • BOOLEAN rampingFlag

Body

Body

Referenced Functions

  • RPL Object Icon FindFlowGivenDateFromLists
  • RPL Object Icon DateIsBetween
  • RPL Object Icon ApplyAverageNoseRelease
  • RPL Object Icon AdjustedEndDate
  • RPL Object Icon FlushingEndDate
  • RPL Object Icon GetDates
  • RPL Object Icon GetSlotVals

Control Display Icon 4.20.26 RPL Object Icon EstimatedEndOfPeriodNavajoContent

Estimates end of period Navajo content given anticipated release volume.

Return Type: NUMERIC

Arguments:

  • NUMERIC anticipatedRelease
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon PreviousElevation
  • RPL Object Icon EstimateEvaporation
  • RPL Object Icon PreviousStorage
  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon Max
  • RPL Object Icon ElevationToArea

Control Display Icon 4.20.27 RPL Object Icon FlushingAccumulatedDurations

Returns a list of accumulated durations for the flushing flows.

Return Type: LIST

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon RowsInFlowDurationTable
  • RPL Object Icon GetFlowDurationSlot

Control Display Icon 4.20.28 RPL Object Icon FlushingCenterDate

Return Type: DATETIME

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon StringDay
  • RPL Object Icon StringMonth
  • RPL Object Icon GetDate

Control Display Icon 4.20.29 RPL Object Icon FlushingDownrampDuration

Returns unitless days of down ramp duration.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon RowsInFlowDurationTable
  • RPL Object Icon GetFlowDurationSlot
  • RPL Object Icon FlushingPeakElement
  • RPL Object Icon SumTableColumn

Control Display Icon 4.20.30 RPL Object Icon FlushingDuration

Returns total duration of flushing release.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon RowsInFlowDurationTable
  • RPL Object Icon GetFlowDurationSlot
  • RPL Object Icon SumTableColumn

Control Display Icon 4.20.31 RPL Object Icon FlushingDurationsToPeak

Return Type: LIST

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon GetFlowDurationSlot
  • RPL Object Icon FlushingPeakElement
  • RPL Object Icon GetTableColumnVals

Control Display Icon 4.20.32 RPL Object Icon FlushingEndDate

Return Type: DATETIME

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon OddDaysPeakDuration
  • RPL Object Icon FlushingDownrampDuration
  • RPL Object Icon FlushingCenterDate
  • RPL Object Icon Floor
  • RPL Object Icon OffsetDate

Control Display Icon 4.20.33 RPL Object Icon FlushingPeakFlow

Gets peak flow in flow duration table as a list.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon GetFlowDurationSlot

Control Display Icon 4.20.34 RPL Object Icon FlushingPeakDuration

Returns unitless days of peak duration unadjusted for odd number of days check.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon GetFlowDurationSlot
  • RPL Object Icon FlushingPeakElement

Control Display Icon 4.20.35 RPL Object Icon FlushingFlowsToPeak

Return Type: LIST

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon GetFlowDurationSlot
  • RPL Object Icon FlushingPeakElement
  • RPL Object Icon GetTableColumnVals

Control Display Icon 4.20.36 RPL Object Icon FlushingPeakElement

Finds element in flow duration flows list where max flow is encountered.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon GetFlowDurationSlot

Control Display Icon 4.20.37 RPL Object Icon FlushingStartDate

Return Type: DATETIME

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon OddDaysPeakDuration
  • RPL Object Icon FlushingCenterDate
  • RPL Object Icon FlushingUprampDuration
  • RPL Object Icon Floor
  • RPL Object Icon OffsetDate

Control Display Icon 4.20.38 RPL Object Icon FlushingUprampDuration

Returns number of unitless days in up ramp portion of hydrograph.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon GetFlowDurationSlot
  • RPL Object Icon FlushingPeakElement
  • RPL Object Icon SumTableColumn

Control Display Icon 4.20.39 RPL Object Icon GageWasShortInMayAndJune

Determines if a gage was short of lookup back volume for past n years for May and June.

Return Type: NUMERIC

Arguments:

  • STRING row
  • SLOT slot

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon SumFlowsToVolumeSkipNaN

Control Display Icon 4.20.40 RPL Object Icon GetFlowDurationSlot

Returns slot name of flow duration table given release type.

Return Type: SLOT

Arguments:

  • NUMERIC releaseType

Body

Body

Control Display Icon 4.20.41 RPL Object Icon GetFlowGivenDayFromFlowDurationTable

Given a day of interest, return flow from flushing flows flow duration table.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType
  • NUMERIC dayOfInterest

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon RowsInFlowDurationTable
  • RPL Object Icon GetFlowDurationSlot
  • RPL Object Icon FlushingAccumulatedDurations
  • RPL Object Icon GetTableColumnVals

Control Display Icon 4.20.42 RPL Object Icon GetHistoricReleaseVolumes

Return Type: LIST

Arguments:

  • NUMERIC numberYears

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon OffsetDate

Control Display Icon 4.20.43 RPL Object Icon IncrementalExcessFlows

Returns list of excess flows incremented by specified amount.

Return Type: LIST

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon FlushingPeakFlow
  • RPL Object Icon GetNumbers

Control Display Icon 4.20.44 RPL Object Icon IncrementalFlushingVolume

Computes incremental flushing volume.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon AdjustedStartDate
  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon AdjustedEndDate
  • RPL Object Icon TotalFlushingVolume
  • RPL Object Icon FlushingEndDate
  • RPL Object Icon FlushingStartDate
  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon Max

Control Display Icon 4.20.45 RPL Object Icon MakeNoExcessFlowList

Make list of flows as a hydrograph without nose water.

Return Type: LIST

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon GetFlowGivenDayFromFlowDurationTable
  • RPL Object Icon FlushingDuration

Control Display Icon 4.20.46 RPL Object Icon ComputeAvailableSpace

Computes available in reservoir in reference to target elevation of day or month.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon PreviousStorage
  • RPL Object Icon DailyTargetStorage

Control Display Icon 4.20.47 RPL Object Icon DailyTargetStorage

Computes daily target storage as a function of daily target elevation.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon ElevationToStorage

Control Display Icon 4.20.48 RPL Object Icon SurplusVolumeBySlotNoErr

Computes surplus volume for a reservoir by slot with no forecast error applied.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon EstimateEvaporation
  • RPL Object Icon GetMeanArea
  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon PreviousStorage
  • RPL Object Icon DailyTargetStorage
  • RPL Object Icon ComputeAvailableSpace
  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon Max

Control Display Icon 4.20.49 RPL Object Icon TotalAvailableWaterBySlotNoErr

Computes total available water (surplus plus storage less reserve).

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon EstimateEvaporation
  • RPL Object Icon GetMeanArea
  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon PreviousStorage
  • RPL Object Icon DailyTargetStorage
  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon Max

Control Display Icon 4.21 RPL Object Icon Archived StateMod Functions

This utility group is used to support the special cases and evaporation adjustment
policy groups.

Control Display Icon 4.21.1 RPL Object Icon ActualIncidentalLoss

Computes actual incidental loss as a flow as a function of return flow and lagging pattern.

Return Type: NUMERIC

Arguments:

  • OBJECT waterUser
  • DATETIME datetime

Body

Body

Control Display Icon 4.21.2 RPL Object Icon IncidentalLossRateByLagging

Looks up incidental loss rate as a function of water user and delay pattern.

Return Type: NUMERIC

Arguments:

  • OBJECT waterUser

Body

Body

Referenced Functions

  • RPL Object Icon TableInterpolation

Control Display Icon 4.21.3 RPL Object Icon PeriodSubbasinIncLossVolume

Computes subbasin incidental loss volume over specified period.

Return Type: NUMERIC

Arguments:

  • BOOLEAN requested
  • STRING subbasin
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon GetDates

Control Display Icon 4.21.4 RPL Object Icon PeriodWaterUserIncLossVolume

Computes water incidental loss volume for a period.

Return Type: NUMERIC

Arguments:

  • BOOLEAN requested
  • OBJECT waterUser
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon GetDates
  • RPL Object Icon FlowToVolume

Control Display Icon 4.21.5 RPL Object Icon RequestedIncidentalLoss

Computes requested incidental loss as a flow as a function of return flow and lagging pattern.

Return Type: NUMERIC

Arguments:

  • OBJECT waterUser
  • DATETIME datetime

Body

Body

Control Display Icon 4.21.6 RPL Object Icon SubbasinIncidentalLossVolume

Computes incidental loss volume for a basin given scenario and subbasin name.

Return Type: NUMERIC

Arguments:

  • BOOLEAN requested
  • STRING subbasin
  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon FlowToVolume
  • RPL Object Icon FilterByObjType

Control Display Icon 4.22 RPL Object Icon Archived 1996 BO Flow Reccommendations Functions

Functions needed to use 1996 BO Flow Recseration operation.

Control Display Icon 4.22.1 RPL Object Icon Interim1G2GetReleaseTypeGivenPath

No release type 1 releases with incremented releases.

Return Type: NUMERIC

Arguments:

  • NUMERIC path

Body

Body

Referenced Functions

  • RPL Object Icon MaximumReleaseType
  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon Max

Control Display Icon 4.22.2 RPL Object Icon Interim2G2GetReleaseTypeGivenPath

No release type 1. Maximum release for predicted spill otherwise.

Return Type: NUMERIC

Arguments:

  • NUMERIC path

Body

Body

Referenced Functions

  • RPL Object Icon MaximumReleaseType
  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon Max

Control Display Icon 4.22.3 RPL Object Icon Interim3G2GetReleaseTypeGivenPath

No release type 1 but some release if sufficient predicted spill.

Return Type: NUMERIC

Arguments:

  • NUMERIC path

Body

Body

Referenced Functions

  • RPL Object Icon MaximumReleaseType
  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon Max

Control Display Icon 4.22.4 RPL Object Icon Interim4G2GetReleaseType

All release type 5 if sufficient spill and not path 17.

Return Type: NUMERIC

Arguments:

  • NUMERIC path

Body

Body

Referenced Functions

  • RPL Object Icon IncrementalFlushingVolume

Control Display Icon 4.22.5 RPL Object Icon Interim2G3GetReleaseTypeGivenPath

No release type 1. Maximum release for predicted spill otherwise.

Return Type: NUMERIC

Arguments:

  • NUMERIC path

Body

Body

Referenced Functions

  • RPL Object Icon MaximumReleaseType
  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon Min
  • RPL Object Icon Max

Control Display Icon 4.22.6 RPL Object Icon Interim3G3GetReleaseTypeGivenPath

No release type 1 but some release if sufficient predicted spill.

Return Type: NUMERIC

Arguments:

  • NUMERIC path

Body

Body

Referenced Functions

  • RPL Object Icon MaximumReleaseType
  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon Min
  • RPL Object Icon Max

Control Display Icon 4.22.7 RPL Object Icon Interim4G3GetReleaseType

All release type 5 if sufficient spill.

Return Type: NUMERIC

Arguments:

  • NUMERIC path

Body

Body

Referenced Functions

  • RPL Object Icon IncrementalFlushingVolume

Control Display Icon 4.22.8 RPL Object Icon NavajoRegressionRelease

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon PreviousStorage
  • RPL Object Icon GetDaysInMonth
  • RPL Object Icon GetMonthAsString
  • RPL Object Icon DateMax
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.22.9 RPL Object Icon SumUpstreamFill

Computes available space of all upstream reservoirs.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetMonth
  • RPL Object Icon FilterByObjType

Control Display Icon 4.22.10 RPL Object Icon AddUpstreamFill

Computes available space in reservoirs in list.

Return Type: NUMERIC

Arguments:

  • LIST listOfReservoirs
  • DATETIME datetime

Body

Body

Constraints

Constraints

Referenced Functions

  • RPL Object Icon PreviousStorage
  • RPL Object Icon DailyTargetStorage

Control Display Icon 4.22.11 RPL Object Icon HydrologicInflowVolumeBySlotNoErr

Computes hydrologic inflow forecast volume by slot to a reservoir without any forecast error applied.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT slot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon SumSlotSkipNaN

Control Display Icon 4.22.12 RPL Object Icon ExcessDays

Return Type: NUMERIC

Arguments:

  • NUMERIC excessVolume
  • NUMERIC peakFlow

Body

Body

Referenced Functions

  • RPL Object Icon Mod
  • RPL Object Icon Ceiling

Control Display Icon 4.22.13 RPL Object Icon EventWasMade

Returns true is specified event as occurred in current year.

Return Type: BOOLEAN

Arguments:

  • NUMERIC eventType

Body

Body

Referenced Functions

  • RPL Object Icon AnnualEventLastOccurrence

Control Display Icon 4.22.14 RPL Object Icon MinimumSanJuanFlow

Computes minimum of average daily flows of San Juan of four references gages.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon MinItem

Control Display Icon 4.22.15 RPL Object Icon RunoffSeason

Return Type: BOOLEAN

Arguments: None

Body

Body

Control Display Icon 4.23 RPL Object Icon Archived Navajo Functions

Control Display Icon 4.23.1 RPL Object Icon AdjustedPeakBeginDate

Returns adjusted flushing release peak begin date.

Return Type: DATETIME

Arguments:

  • SLOT slot

Body

Body

Referenced Functions

  • RPL Object Icon AdjustedStartDate
  • RPL Object Icon AdjustedEndDate
  • RPL Object Icon FlushingPeakFlow
  • RPL Object Icon GetDates

Control Display Icon 4.23.2 RPL Object Icon AdjustedPeakEndDate

Returns adjusted flushing release peak end date.

Return Type: DATETIME

Arguments:

  • SLOT slot

Body

Body

Referenced Functions

  • RPL Object Icon AdjustedEndDate
  • RPL Object Icon FlushingPeakFlow
  • RPL Object Icon FlushingCenterDate
  • RPL Object Icon OffsetDate
  • RPL Object Icon GetDates

Control Display Icon 4.23.3 RPL Object Icon AdjustmentStartDate

Return start date appropriate for adjustments.

Return Type: DATETIME

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon AdjustedStartDate

Control Display Icon 4.23.4 RPL Object Icon AdjustmentSlot

Determines slot to adjust.

Return Type: SLOT

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon AdjustedStartDate

Control Display Icon 4.23.5 RPL Object Icon AverageReleaseVolume

Computes average release volume given release type.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon FlushingEndDate
  • RPL Object Icon FlushingStartDate
  • RPL Object Icon FlowToVolume

Control Display Icon 4.23.6 RPL Object Icon BaseflowBypassAdjustment

Adjusts baseflow bypasses for case when we missed the appropriate baseflow method's seven day average.
Because this case is rarely encountered, we chose to do a brute force adjustment that takes care of
negative outflows and meets baseflow requriements. It is brute force because when we have a baseflow shortfall,
we are providing adjusted bypass to all four gages. This case appears to occur when the gage combination
changes. Applying the adjustment to all 4 gages should keep the gage combination from changing again.

Return Type: LIST

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList

Control Display Icon 4.23.7 RPL Object Icon BaseflowBypassAdjustmentNew

Adjusts baseflow bypasses for case when we missed the appropriate baseflow method's seven day average.
Because this case is rarely encountered, we chose to do a brute force adjustment that takes care of
negative outflows and meets baseflow requriements. It is brute force because when we have a baseflow shortfall,
we are providing adjusted bypass to all four gages. This case appears to occur when the gage combination
changes. Applying the adjustment to all 4 gages should keep the gage combination from changing again.

Return Type: LIST

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList

Control Display Icon 4.23.8 RPL Object Icon ComputeAdjustedRelease

Computes release adjusted for excess water as a function of conditions.

Return Type: LIST

Arguments:

  • NUMERIC excessDays
  • DATETIME flushingStartDate
  • NUMERIC releaseType
  • SLOT slot
  • LIST modelDates

Body

Body

Referenced Functions

  • RPL Object Icon AdditionalNoseWater
  • RPL Object Icon PreFlushingReleaseNoseWater
  • RPL Object Icon ComputeNoseAdjustedRelease
  • RPL Object Icon OffsetDate
  • RPL Object Icon GetSlotVals

Control Display Icon 4.23.9 RPL Object Icon ComputeBypassFlow

Computes bypass flow given accumulated volume for timesteps of interest and target flow.

Return Type: NUMERIC

Arguments:

  • NUMERIC targetFlow
  • NUMERIC accumulatedVolume
  • NUMERIC numberTimesteps
  • NUMERIC timestep

Body

Body

Referenced Functions

  • RPL Object Icon Max

Control Display Icon 4.23.10 RPL Object Icon ComputeBackLoadedExtendedRelease

Computes release adjusted for extension of peak back loaded to hydrograph.

Return Type: LIST

Arguments:

  • NUMERIC excessDays
  • DATETIME beginDate
  • NUMERIC releaseType
  • SLOT slot
  • LIST modelDates

Body

Body

Referenced Functions

  • RPL Object Icon FlushingPeakFlow
  • RPL Object Icon OffsetDate
  • RPL Object Icon GetSlotVals

Control Display Icon 4.23.11 RPL Object Icon ComputeCenteredExtendedRelease

Computes release adjusted for extension of peak centered around peak.

Return Type: LIST

Arguments:

  • NUMERIC excessDays
  • DATETIME flushingStartDate
  • NUMERIC releaseType
  • SLOT slot
  • LIST modelDates

Body

Body

Referenced Functions

  • RPL Object Icon FlushingPeakFlow
  • RPL Object Icon FlushingCenterDate
  • RPL Object Icon OffsetDate
  • RPL Object Icon GetSlotVals

Control Display Icon 4.23.12 RPL Object Icon ComputeFrontLoadedExtendedRelease

Computes release adjusted for extension of peak front loaded to hydrograph.

Return Type: LIST

Arguments:

  • NUMERIC excessDays
  • DATETIME flushingStartDate
  • NUMERIC releaseType
  • SLOT slot
  • LIST modelDates

Body

Body

Referenced Functions

  • RPL Object Icon FlushingPeakFlow
  • RPL Object Icon FlushingCenterDate
  • RPL Object Icon OffsetDate
  • RPL Object Icon GetSlotVals

Control Display Icon 4.23.13 RPL Object Icon ComputeModifiedRelease

Computes release modified for release extensions or curtailments.

Return Type: LIST

Arguments:

  • NUMERIC releaseType
  • LIST modelDates

Body

Body

Referenced Functions

  • RPL Object Icon AdjustedEndDate
  • RPL Object Icon FlushingPeakFlow
  • RPL Object Icon OffsetDate
  • RPL Object Icon GetJulianDate

Control Display Icon 4.23.14 RPL Object Icon ExpectedALPAdjustment

Computes expected benefit of ALP mitigation operations.

Return Type: NUMERIC

Arguments:

  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon Max

Control Display Icon 4.23.15 RPL Object Icon FloodControlFlag_old

Flags if flood control should be computed.

Return Type: BOOLEAN

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon PreviousElevation

Control Display Icon 4.23.16 RPL Object Icon FloodControlFlag

Flags if flood control should be computed.

Return Type: BOOLEAN

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon PreviousElevation
  • RPL Object Icon GetMaxReleaseGivenInflow

Control Display Icon 4.23.17 RPL Object Icon FlushingAdjustedOpRelease

Computes operation release adjusted for flushing release. Any water before the peak should be released as a spike.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType
  • NUMERIC shortTermRelease

Body

Body

Referenced Functions

  • RPL Object Icon Max

Control Display Icon 4.23.18 RPL Object Icon FlushingUprampVolume

Computes volume before start of peak.

Return Type: NUMERIC

Arguments:

  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon GetFlowDurationSlot

Control Display Icon 4.23.19 RPL Object Icon GetReleaseTypeGivenPath

Sets flushing flows release type as a function of path, spill, and available water.

Return Type: NUMERIC

Arguments:

  • NUMERIC path

Body

Body

Referenced Functions

  • RPL Object Icon IncrementalFlushingVolume

Control Display Icon 4.23.20 RPL Object Icon GetReleaseTypeGivenPathV1

Sets flushing flows release type as a function of path, spill, and available water.

Return Type: NUMERIC

Arguments:

  • NUMERIC path

Body

Body

Referenced Functions

  • RPL Object Icon MaximumReleaseType
  • RPL Object Icon Min
  • RPL Object Icon Max

Control Display Icon 4.23.21 RPL Object Icon GetReleaseTypeGivenPathV2

Sets flushing flows release type as a function of path, spill, and available water.

Return Type: NUMERIC

Arguments:

  • NUMERIC path

Body

Body

Referenced Functions

  • RPL Object Icon MaximumReleaseType
  • RPL Object Icon Min
  • RPL Object Icon Max

Control Display Icon 4.23.22 RPL Object Icon GetReleaseTypeGivenPathV3

Sets flushing flows release type as a function of path, spill, and available water.

Return Type: NUMERIC

Arguments:

  • NUMERIC path

Body

Body

Referenced Functions

  • RPL Object Icon MaximumReleaseType
  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon Min
  • RPL Object Icon Max

Control Display Icon 4.23.23 RPL Object Icon IncreaseNavajoDailyFlows

Return Type: LIST

Arguments:

  • LIST accExtraCapc
  • NUMERIC extraWater
  • NUMERIC maxRelease

Body

Body

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon GetDayOfMonth
  • RPL Object Icon FlowToVolume

Control Display Icon 4.23.24 RPL Object Icon ListHistoricReleaseTypes

Makes a list of historic release types.

Return Type: LIST

Arguments:

  • NUMERIC numberYears

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon OffsetDate

Control Display Icon 4.23.25 RPL Object Icon MakeIntegratedFlowList

Integrates unadjusted release with extended peak.

Return Type: LIST

Arguments:

  • NUMERIC excessDays
  • DATETIME flushingStartDate
  • NUMERIC releaseType
  • LIST modelDates

Body

Body

Referenced Functions

  • RPL Object Icon FindFlowGivenDateFromLists
  • RPL Object Icon MakeUnadjustedFlowList
  • RPL Object Icon FlushingPeakFlow
  • RPL Object Icon FlushingCenterDate
  • RPL Object Icon OffsetDate
  • RPL Object Icon GetDates

Control Display Icon 4.23.26 RPL Object Icon MaximumForcedReleaseType

Computes maximum forced release type as a function of absolute maximum amount of water that we can release.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon EstimatedEndOfPeriodNavajoContent
  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon Max
  • RPL Object Icon GetMonthAsString
  • RPL Object Icon StorageToElevation

Control Display Icon 4.23.27 RPL Object Icon MaximumFlushingRelease

Computes maximum flushing release given supply.

Return Type: NUMERIC

Arguments:

  • NUMERIC supply

Body

Body

Referenced Functions

  • RPL Object Icon IncrementalFlushingVolume

Control Display Icon 4.23.28 RPL Object Icon MaximumTwoGageAdjustment

Adjusts baseflow bypasses using maximum two gage method.

Return Type: LIST

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon OffsetDate

Control Display Icon 4.23.29 RPL Object Icon MaximumWaterAvailableToNIIP

Return Type: NUMERIC

Arguments:

  • NUMERIC release
  • NUMERIC meanArea

Body

Body

Referenced Functions

  • RPL Object Icon EstimateEvaporation
  • RPL Object Icon PreviousStorage
  • RPL Object Icon Max
  • RPL Object Icon FlowToVolume
  • RPL Object Icon ElevationToStorage
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.23.30 RPL Object Icon MinimumForcedReleaseVolumeIsAvailable

Determines if minimum volume need to make a release iis available.

Return Type: BOOLEAN

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon EstimatedEndOfPeriodNavajoContent
  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon Max
  • RPL Object Icon GetMonthAsString
  • RPL Object Icon StorageToElevation

Control Display Icon 4.23.31 RPL Object Icon MinimumTwoGageAdjustment

Computes second pass bypasses using minimum two gage method.

Return Type: LIST

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon OffsetDate

Control Display Icon 4.23.32 RPL Object Icon NavajoFloodControlReleaseNoForecastError

Computes flood control release by a short term look and long term COE look.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon PreviousStorage
  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon MaxItem
  • RPL Object Icon SumFlowsToVolume
  • RPL Object Icon Max
  • RPL Object Icon GetMaxReleaseGivenInflow
  • RPL Object Icon OffsetDate
  • RPL Object Icon DateMin

Control Display Icon 4.23.33 RPL Object Icon NavajoFloodControlRelease

Computes flood control release by a short term look and long term COE look.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon PreviousStorage
  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon MaxItem
  • RPL Object Icon Max
  • RPL Object Icon OffsetDate
  • RPL Object Icon DateMin

Control Display Icon 4.23.34 RPL Object Icon NavajoFlushingOperationRelease

Computes operation release while accounting for flushing volumes.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon PreviousElevation
  • RPL Object Icon SurplusVolumeBySlotNoErr
  • RPL Object Icon Max
  • RPL Object Icon OffsetDate
  • RPL Object Icon DateMin

Control Display Icon 4.23.35 RPL Object Icon NavajoNormalOperationRelease

Computes Navajo normal operations release

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon PreviousElevation
  • RPL Object Icon SurplusVolumeBySlotNoErr
  • RPL Object Icon Max
  • RPL Object Icon OffsetDate
  • RPL Object Icon DateMin

Control Display Icon 4.23.36 RPL Object Icon NoFishReleasePastNYears

Determines if any release has been made in specified nears.

Return Type: BOOLEAN

Arguments:

  • NUMERIC numberYears

Body

Body

Referenced Functions

  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon GetHistoricReleaseVolumes
  • RPL Object Icon Sum

Control Display Icon 4.23.37 RPL Object Icon NoMaxReleasePastNYears

Determines if the maxmimum release has been made in specific years.

Return Type: BOOLEAN

Arguments:

  • NUMERIC numberYears

Body

Body

Referenced Functions

  • RPL Object Icon MaxItem

Control Display Icon 4.23.38 RPL Object Icon OpReleaseFlag

Flags if an operation release should be computed.

Return Type: BOOLEAN

Arguments: None

Body

Body

Control Display Icon 4.23.39 RPL Object Icon OptimumFlushingRelease

Computes optimum flushing release given supply.

Return Type: NUMERIC

Arguments:

  • NUMERIC supply

Body

Body

Referenced Functions

  • RPL Object Icon IncrementalFlushingVolume
  • RPL Object Icon Min

Control Display Icon 4.23.40 RPL Object Icon RampingConstrainedFlow

Constrains requested flow for ramping criteria.

Return Type: NUMERIC

Arguments:

  • NUMERIC requestedFlow

Body

Body

Referenced Functions

  • RPL Object Icon NavajoDescendingLimit
  • RPL Object Icon NavajoAscendingLimit
  • RPL Object Icon Min
  • RPL Object Icon Max

Control Display Icon 4.23.41 RPL Object Icon RampedRelease

Ramps release to logical increments.

Return Type: NUMERIC

Arguments:

  • NUMERIC requestedFlow

Body

Body

Referenced Functions

  • RPL Object Icon Ceiling
  • RPL Object Icon TableLookupDefaultTol

Control Display Icon 4.23.42 RPL Object Icon ReleaseIsNeeded

Returns true if a release is needed.

Return Type: BOOLEAN

Arguments: None

Body

Body

Control Display Icon 4.23.43 RPL Object Icon ReleaseIsRequired

Returns true is a release is required.

Return Type: BOOLEAN

Arguments: None

Body

Body

Control Display Icon 4.23.44 RPL Object Icon ReleasePriority

Computes release priority given release type.

Return Type: NUMERIC

Arguments:

  • NUMERIC eventType

Body

Body

Control Display Icon 4.23.45 RPL Object Icon RemainingFlushingVolume

Computes incremental flushing volume for remainder of season from adjusted hydrograph.

Return Type: NUMERIC

Arguments:

  • DATETIME datetime
  • NUMERIC releaseType

Body

Body

Referenced Functions

  • RPL Object Icon AdjustedStartDate
  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon AdjustedEndDate
  • RPL Object Icon SumFlowsToVolumeSkipNaN
  • RPL Object Icon Max
  • RPL Object Icon DateMax

Control Display Icon 4.23.46 RPL Object Icon SetFlushingFlowsPath_bw

Sets path by 1996 BO Flow Recseration decision tree.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon IncrementalFlushingVolume

Control Display Icon 4.23.47 RPL Object Icon SetFlushingFlowsPath

Sets path by 1996 BO Flow Recseration decision tree.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon IncrementalFlushingVolume

Control Display Icon 4.23.48 RPL Object Icon SetFlushingFlowsPathV1

Sets path by 1996 BO Flow Recseration decision tree.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon IncrementalFlushingVolume

Control Display Icon 4.23.49 RPL Object Icon SetFlushingFlowsPathV2

Sets path by 1996 BO Flow Recseration decision tree.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon IncrementalFlushingVolume

Control Display Icon 4.23.50 RPL Object Icon SupplementalBypass

Computes supplemental bypass as a function of baseflow method and first pass flows.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon MaxItem
  • RPL Object Icon Max

Control Display Icon 4.23.51 RPL Object Icon TargetForcedReleaseType

Returns target release type as a function of event return periods.

Return Type: NUMERIC

Arguments: None

Body

Body

Control Display Icon 4.23.52 RPL Object Icon ThreeGageAdjustment

Computes three gage adjusted bypasses.

Return Type: LIST

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon OffsetDate

Control Display Icon 4.23.53 RPL Object Icon ThreeGageAdjustmentNEW

Computes three gage adjusted bypasses.

Return Type: LIST

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList
  • RPL Object Icon MaxItem
  • RPL Object Icon Max
  • RPL Object Icon OffsetDate

Control Display Icon 4.23.54 RPL Object Icon ThreeGageBypasses_orig

Computes bypass flows using the three gage criteria.

Return Type: LIST

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon GetNumbers

Control Display Icon 4.23.55 RPL Object Icon WaterSupplyFlag

Flags if water supply rules for flushing decisions should fire.

Return Type: BOOLEAN

Arguments: None

Body

Body

Control Display Icon 4.23.56 RPL Object Icon ThreeGageBypasses_prev

Computes bypass flows using the three gage criteria.

Return Type: LIST

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max

Control Display Icon 4.24 RPL Object Icon Archived Operation Functions

Control Display Icon 4.24.1 RPL Object Icon AfterPeakReleaseBySlotNoErr

Computes release after runoff season by attempting to get reservoir to a target December space
requirement (ReservoirData.targetSpace December). Computes forecasted inflow for remainder of
year for subbasins AboveReservoirHydrology, AboveReservoirDepletions and AboveReservoirExports

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT forecastSlot

Body

Body

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon DateMin
  • RPL Object Icon GetJulianDate
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.24.2 RPL Object Icon AfterPeakReleaseBySlotWithErr

Computes release after runoff season by attempting to get reservoir to a target December space
requirement (ReservoirData.targetSpace December). Computes forecasted inflow for remainder of
year for subbasins AboveReservoirHydrology, AboveReservoirDepletions and AboveReservoirExports

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT forecastSlot
  • SLOT errorSlot

Body

Body

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon DateMin
  • RPL Object Icon GetJulianDate
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.24.3 RPL Object Icon AfterPeakReleaseBySubWithErr

Computes release after runoff season by attempting to get reservoir to a target December space
requirement (ReservoirData.targetSpace December). Computes forecasted inflow for remainder of
year for subbasins AboveReservoirHydrology, AboveReservoirDepletions and AboveReservoirExports

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT errorSlot

Body

Body

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon DateMin
  • RPL Object Icon GetJulianDate
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.24.4 RPL Object Icon AfterPeakVolumeBySlotNoErr

Computes after peak volume for a reservoir by slot with no forecast error applied.
Uses table ReservoirData.targetSpace December value.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT forecastSlot

Body

Body

Referenced Functions

  • RPL Object Icon EstimateEvaporation
  • RPL Object Icon GetMeanArea
  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon PreviousStorage
  • RPL Object Icon DailyTargetStorage
  • RPL Object Icon ComputeAvailableSpace
  • RPL Object Icon Max
  • RPL Object Icon DateMin
  • RPL Object Icon ElevationToStorage

Control Display Icon 4.24.5 RPL Object Icon AfterPeakVolumeBySubWithErr

Computes volume to release after the runoff season by attempting to get reservoir to a target December space
requirement (ReservoirData.targetSpace December). Computes forecasted inflow for remainder of year for
subbasins AboveReservoirHydrology, AboveReservoirDepletions and AboveReservoirExports.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT errorSlot

Body

Body

Referenced Functions

  • RPL Object Icon EstimateEvaporation
  • RPL Object Icon GetMeanArea
  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon PreviousStorage
  • RPL Object Icon DailyTargetStorage
  • RPL Object Icon ComputeAvailableSpace
  • RPL Object Icon Max
  • RPL Object Icon DateMin
  • RPL Object Icon ElevationToStorage

Control Display Icon 4.24.6 RPL Object Icon AfterPeakVolumeBySlotWithErr

Computes volume to release after the runoff season by attempting to get reservoir to a target December space requirement.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT forecastSlot
  • SLOT errorSlot

Body

Body

Referenced Functions

  • RPL Object Icon EstimateEvaporation
  • RPL Object Icon GetMeanArea
  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon PreviousStorage
  • RPL Object Icon DailyTargetStorage
  • RPL Object Icon ComputeAvailableSpace
  • RPL Object Icon Max
  • RPL Object Icon DateMin
  • RPL Object Icon ElevationToStorage

Control Display Icon 4.24.7 RPL Object Icon AvailableStorageWaterBySlotNoErr

omputes available storage water.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT forecastSlot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon SurplusVolumeBySlotNoErr
  • RPL Object Icon TotalAvailableWaterBySlotNoErr
  • RPL Object Icon Max

Control Display Icon 4.24.8 RPL Object Icon AvailableStorageWaterBySlotWithErr

Computes available storage water.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT forecastSlot
  • SLOT errorSlot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon Max

Control Display Icon 4.24.9 RPL Object Icon AvailableStorageWaterBySubWithErr

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT errorSlot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon Max

Control Display Icon 4.24.10 RPL Object Icon DailyMaximumStorage

Computes daily maximum storage as a function of daily maximum elevation.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon ElevationToStorage

Control Display Icon 4.24.11 RPL Object Icon DailyMinimumElevation

Interpolates daily minimum elevation from monthly table ReservoirData.MinElevation.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME datetime

Body

Body

Control Display Icon 4.24.12 RPL Object Icon DailyMinimumStorage

Computes daily minimum storage as a function of daily minimum elevation

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon ElevationToStorage

Control Display Icon 4.24.13 RPL Object Icon DailyMinimumStorageRelease

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME datetime
  • NUMERIC prevStorage
  • NUMERIC inflow

Body

Body

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon SolveOutflow

Control Display Icon 4.24.14 RPL Object Icon DailyTargetStorageRelease

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME datetime
  • NUMERIC prevStorage
  • NUMERIC inflow

Body

Body

Referenced Functions

  • RPL Object Icon DailyTargetStorage
  • RPL Object Icon Max
  • RPL Object Icon SolveOutflow

Control Display Icon 4.24.15 RPL Object Icon FloodControlReleaseBySlot

Computes flood control release with forecast by slot.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT slot

Body

Body

Referenced Functions

  • RPL Object Icon PreviousStorage
  • RPL Object Icon Max
  • RPL Object Icon SolveStorage
  • RPL Object Icon SolveOutflow
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.24.16 RPL Object Icon FloodControlStorageBySlot

Computes flood control storage limit with forecast from a slot.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT slot

Body

Body

Referenced Functions

  • RPL Object Icon GetMonthAsString
  • RPL Object Icon TableInterpolation

Control Display Icon 4.24.17 RPL Object Icon MinAndMaxFlowCheckWithDemands

Guarantees that reservoir meets instream flow requirement (ReservoirData.MinRelease)
and downstream demands while not violating monthy maximum release (ReservoirData.MaxRelease).

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • NUMERIC outflow

Body

Body

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon ListSubbasin

Control Display Icon 4.24.18 RPL Object Icon MaxMinElevationCheck

Checks for maximum and minimum elevation constraints expressed in table
ReservoirData.MinElevation and ReservoirData.MaxElevation.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • NUMERIC request

Body

Body

Referenced Functions

  • RPL Object Icon PreviousStorage
  • RPL Object Icon Min
  • RPL Object Icon Max

Control Display Icon 4.24.19 RPL Object Icon MaxMinElevationFlows

Attempts to meet instream flow requirement (ReservoirData.MinRelease)
while not violating maximum release (ReservoirData.MaxRelease) while also attempting to meet min
and max elevation constraints (ReservoirDataMinElevation and ReservoirData.MaxElevation) are met.
Preference is given to release constraints.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • NUMERIC request

Body

Body

Control Display Icon 4.24.20 RPL Object Icon MinAndMaxFlowCheck

Guarantees that reservoir meets instream flow requirement (ReservoirData.MinRelease)
while not violating monthy maximum release (ReservoirData.MaxRelease).

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • NUMERIC outflow

Body

Body

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max

Control Display Icon 4.24.21 RPL Object Icon MinimumAvailableStorage

Returns minimum available water as reservoir storage.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir

Body

Body

Referenced Functions

  • RPL Object Icon ElevationToStorage

Control Display Icon 4.24.22 RPL Object Icon MinMaxElevationFlowsWithDemands

Guarantees that reservoir meets instream flow requirement (ReservoirData.MinRelease)
and downstream demands while not violating monthy maximum release (ReservoirData.MaxRelease)
and that min and max elevation constraints (ReservoirDataMinElevation and
ReservoirData.MaxElevation) are met.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • NUMERIC outflow

Body

Body

Referenced Functions

  • RPL Object Icon PreviousStorage

Control Display Icon 4.24.23 RPL Object Icon MinMaxElevationFlowsWithoutDemands

Guarantees that reservoir meets monthly instream flow requirement (ReservoirData.MinRelease)
while not violating monthy maximum release (ReservoirData.MaxRelease) and that monthly min
and max elevation constraints (ReservoirDataMinElevation and ReservoirData.MaxElevation) are met.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • NUMERIC outflow

Body

Body

Referenced Functions

  • RPL Object Icon PreviousStorage

Control Display Icon 4.24.24 RPL Object Icon MinMaxElevationFlows

Attempts to meet instream flow requirement (ReservoirData.MinRelease)
while not violating maximum release (ReservoirData.MaxRelease) while also attempting to meet min
and max elevation constraints (ReservoirDataMinElevation and ReservoirData.MaxElevation) are met.
Preference is given to elevation constraints.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • NUMERIC request

Body

Body

Control Display Icon 4.24.25 RPL Object Icon MaximumElevationCheck

Adjust release to respect maximum elevation.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • NUMERIC request

Body

Body

Referenced Functions

  • RPL Object Icon PreviousStorage
  • RPL Object Icon Min

Control Display Icon 4.24.26 RPL Object Icon MinimumElevationCheck

Adjust release to respect minimum elevation.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • NUMERIC request

Body

Body

Referenced Functions

  • RPL Object Icon PreviousStorage
  • RPL Object Icon Max

Control Display Icon 4.24.27 RPL Object Icon MonthlyFloodControlRelease

Computes release as a function of monthly flood control storage and channel capacity.
Channel capacity is respected until live capacity is encroached.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir

Body

Body

Referenced Functions

  • RPL Object Icon PreviousStorage
  • RPL Object Icon Max
  • RPL Object Icon SolveStorage
  • RPL Object Icon SolveOutflow
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.24.28 RPL Object Icon DailyMaximumStorageRelease

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME datetime
  • NUMERIC prevStorage
  • NUMERIC inflow

Body

Body

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon SolveOutflow
  • RPL Object Icon ElevationToStorage

Control Display Icon 4.24.29 RPL Object Icon MonthlyFloodControlStorage

Computes Corp of Engineers Flood Control allowable storage given flood season forecast using table FloodControlTables.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir

Body

Body

Referenced Functions

  • RPL Object Icon GetMonthAsString
  • RPL Object Icon TableInterpolation

Control Display Icon 4.24.30 RPL Object Icon DailyFloodControlStorage

Computes maximum storage that we can be at today given a forecast thru endDate
and the maximum daily release (maxRelease).

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME endDate
  • NUMERIC maxRelease
  • NUMERIC forecastVolume

Body

Body

Referenced Functions

  • RPL Object Icon SumFlowValueToVolume
  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon ElevationToStorage

Control Display Icon 4.24.31 RPL Object Icon RunoffSeasonReleaseBySlotNoErr

Attempts to fill reservoir without spilling by a specified filling date
during runoff season. Runoff season is assumed to start in
January. This is the Fill and Not Spill rule.
The flow of a given time step is a fraction from a lookup table
times estimated surplus volume above filling volume.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME startDate
  • DATETIME fillDate
  • SLOT forecastSlot

Body

Body

Referenced Functions

  • RPL Object Icon SurplusVolumeBySlotNoErr
  • RPL Object Icon GetMonthAsString
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.24.32 RPL Object Icon RunoffSeasonReleaseBySlotWithErr

Attempts to fill reservoir without spilling by a specified filling date
during runoff season. Runoff season is assumed to start in
January. This is the Fill and Not Spill rule.
The flow of a given time step is a fraction from a lookup table
times estimated surplus volume above filling volume.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME startDate
  • DATETIME fillDate
  • SLOT forecastSlot
  • SLOT errorSlot

Body

Body

Referenced Functions

  • RPL Object Icon GetMonthAsString
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.24.33 RPL Object Icon DailyFloodControlRelease

Computes flood control release for a daily time step as function of today's maximum storage
and today's flood control storage.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME endDate
  • NUMERIC maxRelease
  • NUMERIC forecastVolume

Body

Body

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon SolveStorage
  • RPL Object Icon SolveOutflow
  • RPL Object Icon ElevationToStorage

Control Display Icon 4.24.34 RPL Object Icon RunoffSeasonReleaseBySubWithErr

Attempts to fill reservoir without spilling by a specified filling date
during runoff season. Runoff season is assumed to start in
January. This is the Fill and Not Spill rule.
The flow of a given time step is a fraction from a lookup table
times estimated surplus volume above filling volume.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT errorSlot
  • DATETIME startDate
  • DATETIME fillDate

Body

Body

Referenced Functions

  • RPL Object Icon GetMonthAsString
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.24.35 RPL Object Icon SurplusVolumeBySlotWithErr

Computes surplus volume from inflows less depletions stored in specified slot.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT forecastSlot
  • SLOT errorSlot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon EstimateEvaporation
  • RPL Object Icon GetMeanArea
  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon PreviousStorage
  • RPL Object Icon DailyTargetStorage
  • RPL Object Icon ComputeAvailableSpace
  • RPL Object Icon Max
  • RPL Object Icon ElevationToStorage

Control Display Icon 4.24.36 RPL Object Icon SurplusVolumeBySubWithErr

Estimates volume that will be surplus in reservoir accouunting for existing
storage and anticipated upstream inflows and depletions.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT errorSlot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon EstimateEvaporation
  • RPL Object Icon GetMeanArea
  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon PreviousStorage
  • RPL Object Icon DailyTargetStorage
  • RPL Object Icon ComputeAvailableSpace
  • RPL Object Icon Max
  • RPL Object Icon ElevationToStorage

Control Display Icon 4.24.37 RPL Object Icon TotalAvailableWaterBySlotWithErr

Computes total available water (surplus plus storage less reserve).

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT forecastSlot
  • SLOT errorSlot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon EstimateEvaporation
  • RPL Object Icon GetMeanArea
  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon PreviousStorage
  • RPL Object Icon DailyTargetStorage
  • RPL Object Icon Max
  • RPL Object Icon ElevationToStorage

Control Display Icon 4.24.38 RPL Object Icon TotalAvailableWaterBySubWithErr

Computes total available water (surplus plus storage less reserve).

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT errorSlot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon EstimateEvaporation
  • RPL Object Icon GetMeanArea
  • RPL Object Icon SumPeriodicFlowToVolume
  • RPL Object Icon PreviousStorage
  • RPL Object Icon DailyTargetStorage
  • RPL Object Icon Max
  • RPL Object Icon ElevationToStorage

Control Display Icon 4.24.39 RPL Object Icon DownstreamDemands

Return Type: NUMERIC

Arguments:

  • LIST listOfReachesAndConfluences

Body

Body

Referenced Functions

  • RPL Object Icon NetSubBasinDiversionRequirement

Control Display Icon 4.24.40 RPL Object Icon GetSubBasinDiversionShortage

Return Type: NUMERIC

Arguments:

  • STRING subbasin

Body

Body

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon FilterByObjType

Control Display Icon 4.25 RPL Object Icon Archived Forecast Functions

Control Display Icon 4.25.1 RPL Object Icon AprilJulyNaturalInflow

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir

Body

Body

Referenced Functions

  • RPL Object Icon GetMonth

Control Display Icon 4.25.2 RPL Object Icon AprilJulyUnregulatedInflow

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT errorSlot

Body

Body

Referenced Functions

  • RPL Object Icon Max

Control Display Icon 4.25.3 RPL Object Icon DailyForecastErrorPercent

Interpolates daily forecast error percents from monthly values. Note that the monthly values are actually for the first day of the month.
Therefore the first day of each month in the daily return should correspond to the monthly value.

Return Type: NUMERIC

Arguments:

  • SLOT monthlyForecastSlot
  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon EndOfMonthDate
  • RPL Object Icon GetDaysInMonth
  • RPL Object Icon OffsetDate
  • RPL Object Icon DateMin
  • RPL Object Icon GetDayOfMonth
  • RPL Object Icon GetMonth

Control Display Icon 4.25.4 RPL Object Icon HydrologicInflowVolumeBySlotWithErr

Computes hydrologic inflow forecast volume for a reservoir by slot with forecast error applied.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT forecastSlot
  • SLOT errorSlot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon Max

Control Display Icon 4.25.5 RPL Object Icon HydrologicInflowVolumeBySubNoErr

Computes hydrologic inflow forecast volume for a reservoir by subbasin with no forecast error applied.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon Max

Control Display Icon 4.25.6 RPL Object Icon HydrologicInflowVolumeBySubWithErr

Computes hydrologic inflow forecast volume for a reservoir by subbasin with forecast error applied.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT errorSlot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon Max

Control Display Icon 4.25.7 RPL Object Icon HydrologicVolumeWithError

Return Type: NUMERIC

Arguments:

  • SLOT flowSlot
  • SLOT errorSlot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon SumFlowsToVolumeSkipNaN

Control Display Icon 4.25.8 RPL Object Icon PreviousForecastError

Returns previous forecast error given reservoir name.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir

Body

Body

Referenced Functions

  • RPL Object Icon GetMonth

Control Display Icon 4.25.9 RPL Object Icon SumDeplsExports

Sums anticipated depletions and exports for a resevoir.

Return Type: NUMERIC

Arguments:

  • OBJECT object
  • STRING direction
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon SumObjectsAggregatedOverTime

Control Display Icon 4.25.10 RPL Object Icon SumUpstreamInflow

Sums all user provided inflows and local inflows for a subbasin upstream of
a reservoir in a given period. Subbasin name is specified as 'AboveReservoirReservoirs'.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon SumObjectsAggregatedOverTime

Control Display Icon 4.25.11 RPL Object Icon UnregulatedInflowVolumeBySlotNoErr

Computes unregulated inflow volume without error from specified slot.

Return Type: NUMERIC

Arguments:

  • SLOT forecastSlot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon SumSlotSkipNaN

Control Display Icon 4.25.12 RPL Object Icon UnregulatedInflowVolumeBySlotWithErr

Computes unregulated inflow from hydrology slot and forecast error slot.

Return Type: NUMERIC

Arguments:

  • SLOT forecastSlot
  • SLOT errorSlot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon GetYear
  • RPL Object Icon GetMonth

Control Display Icon 4.25.13 RPL Object Icon UnregulatedInflowVolumeBySubNoErr

Computes unregulated inflow forecast volume for a reservoir by subbasin without forecast error applied.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Control Display Icon 4.25.14 RPL Object Icon UnregulatedInflowVolumeBySubWithErr

Computes unregulated inflow forecast volume for a reservoir by subbasin with forecast error applied.

Return Type: NUMERIC

Arguments:

  • OBJECT reservoir
  • SLOT errorSlot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon GetYear
  • RPL Object Icon GetMonth

Control Display Icon 4.26 RPL Object Icon Archived ALP Functions

Control Display Icon 4.26.1 RPL Object Icon ALPSupplementFishRelease

Computes supplemental release from Ridges Basin to meet minimum flow restrictions on San Juan.

Return Type: NUMERIC

Arguments:

  • DATETIME datetime
  • NUMERIC sjConstrainingFlow

Body

Body

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon GetMonthAsString

Control Display Icon 4.26.2 RPL Object Icon FlushingPeriodAvailableForDiversion

Return Type: NUMERIC

Arguments:

  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max

Control Display Icon 4.26.3 RPL Object Icon FlushingPeriodFishIntakeBypass

Return Type: NUMERIC

Arguments:

  • DATETIME datetime
  • NUMERIC sjConstrainingFlow

Body

Body

Referenced Functions

  • RPL Object Icon DateIsBetween
  • RPL Object Icon FlushingEndDate
  • RPL Object Icon FlushingStartDate
  • RPL Object Icon MaxItem
  • RPL Object Icon Max
  • RPL Object Icon GetMonthAsString

Control Display Icon 4.26.4 RPL Object Icon FlowRangesAvailableForDiversion

Computes bypass for fish purposes. Pumping Limit = Constraining Flow - Bypass.
Bypass = Contstraining Flow - Pumping Limit.

Return Type: NUMERIC

Arguments:

  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max

Control Display Icon 4.26.5 RPL Object Icon FlowRangesFishIntakeBypass

Computes bypass for fish purposes. Pumping Limit = Constraining Flow - Bypass.
Bypass = Contstraining Flow - Pumping Limit.

Return Type: NUMERIC

Arguments:

  • DATETIME datetime
  • NUMERIC SJFarmington
  • NUMERIC sjConstrainingFlow

Body

Body

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon GetMonthAsString
  • RPL Object Icon GetMonth

Control Display Icon 4.26.6 RPL Object Icon JuneOnlyAvailableForDiversion

Only limits pumping in June.

Return Type: NUMERIC

Arguments:

  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max

Control Display Icon 4.26.7 RPL Object Icon JuneOnlyFishIntakeBypass

Only restricts pumping in June.

Return Type: NUMERIC

Arguments:

  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon GetMonth

Control Display Icon 4.26.8 RPL Object Icon OneWindowAvailableForDiversion

Return Type: NUMERIC

Arguments:

  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max

Control Display Icon 4.26.9 RPL Object Icon OneWindowFishIntakeBypass

Return Type: NUMERIC

Arguments:

  • DATETIME datetime
  • NUMERIC sjConstrainingFlow

Body

Body

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon GetMonthAsString
  • RPL Object Icon GetMonth

Control Display Icon 4.26.10 RPL Object Icon SanJuanConstrainingFlow

Returns minimum estimated flow of San Juan at Farmington, Shiprock, Stateline, and Bluff.

Return Type: NUMERIC

Arguments:

  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon MinItem

Control Display Icon 4.26.11 RPL Object Icon NetEffectALPAnimasAtFarmington

Computes net affect of ALP on Animas At Farmington.

Return Type: NUMERIC

Arguments: None

Body

Body

Control Display Icon 4.26.12 RPL Object Icon RidgesBasinDailyInflowLimit

Return Type: NUMERIC

Arguments:

  • BOOLEAN mitigationPass

Body

Body

Referenced Functions

  • RPL Object Icon PreviousStorage
  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon SolveInflow

Control Display Icon 4.26.13 RPL Object Icon AnimasDownstreamUsersDivShortage

Computes diversion shortages of historic water users downstream of ALP.

Return Type: NUMERIC

Arguments: None

Body

Body

Control Display Icon 4.26.14 RPL Object Icon NormalIntakeBypass_PREV

Computes normal bypass of pumping plant.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetMonthAsString

Control Display Icon 4.26.15 RPL Object Icon NormalIntakeBypass

Computes normal bypass of pumping plant.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon Max
  • RPL Object Icon ListSubbasin
  • RPL Object Icon GetMonthAsString
  • RPL Object Icon NetSubBasinDiversionRequirement
  • RPL Object Icon ListDownstreamObjects

Control Display Icon 4.26.16 RPL Object Icon ALPDiversionByPass

Return Type: NUMERIC

Arguments: None

Body

Body

Control Display Icon 4.26.17 RPL Object Icon DurangoDailyDirectFlowSupply

Computes Durango daily direct flow supply.

Return Type: NUMERIC

Arguments: None

Body

Body

Referenced Functions

  • RPL Object Icon Min

Control Display Icon 4.26.18 RPL Object Icon RidgesBasinDailyDiversionLimit

Set daily diversion limit in terms of pump limitations and available for diversion.

Return Type: NUMERIC

Arguments:

  • NUMERIC availableToDivert

Body

Body

Referenced Functions

  • RPL Object Icon Max
  • RPL Object Icon GetMonthAsString

Control Display Icon 4.26.19 RPL Object Icon ReturnsAvailableForFishBypass

Return Type: NUMERIC

Arguments: None

Body

Body

Control Display Icon 4.26.20 RPL Object Icon ALPWaterUserReturnFlow

Estimates return flows from ALP water users.

Return Type: NUMERIC

Arguments:

  • OBJECT wateruser
  • DATETIME datetime

Body

Body

Control Display Icon 4.26.21 RPL Object Icon DurangoAreaReturnFlows

Estimates returns that must be bypasses by water users upstream of reservoir release.

Return Type: NUMERIC

Arguments: None

Body

Body

Control Display Icon 4.26.22 RPL Object Icon ReturnsAvailableForNewMexico

Return Type: NUMERIC

Arguments: None

Body

Body

Control Display Icon 4.26.23 RPL Object Icon RidgesBasinCapacityChecks

Does a crude check on inactive capacity and check of outlet works capacity.

Return Type: NUMERIC

Arguments:

  • NUMERIC release
  • NUMERIC inflow

Body

Body

Referenced Functions

  • RPL Object Icon Min
  • RPL Object Icon GetMaxReleaseGivenInflow

Control Display Icon 4.27 RPL Object Icon Archived Functions

Control Display Icon 4.27.1 RPL Object Icon InsertValueDateSetIntoList

Inserts a value and date set into a list of flows and dates.

Return Type: LIST

Arguments:

  • NUMERIC flow
  • DATETIME date

Body

Body

Control Display Icon 4.27.2 RPL Object Icon InsertSlotValueSetIntoList

Inserts specified slot and value into a list.

Return Type: LIST

Arguments:

  • SLOT slot
  • NUMERIC value

Body

Body

Control Display Icon 4.27.3 RPL Object Icon MakeListFromValueAndDates

Makes a list of daily values for a given value.

Return Type: LIST

Arguments:

  • NUMERIC dailyValue
  • LIST datesToUse

Body

Body

Control Display Icon 4.27.4 RPL Object Icon MakeIncrementalListGivenInitIncrMax

Creates a list given an initial value, an inrement, and a maximum.

Return Type: LIST

Arguments:

  • NUMERIC initial
  • NUMERIC increment
  • NUMERIC maximum

Body

Body

Control Display Icon 4.27.5 RPL Object Icon MakeIncrementalListGivenInitIncrPoints

Creates a list of values given an inital value, an incremental value, and number of points.

Return Type: LIST

Arguments:

  • NUMERIC initial
  • NUMERIC increment
  • NUMERIC numberPoints

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList

Control Display Icon 4.27.6 RPL Object Icon MakeListOfValuesAndDates

Returns a list of values and dates.

Return Type: LIST

Arguments:

  • LIST flows
  • LIST dates
  • LIST listOfDays

Body

Body

Control Display Icon 4.27.7 RPL Object Icon MakeListOfSlotsAndValues

Makes a list of lists of slots and values

Return Type: LIST

Arguments:

  • LIST slotsList
  • LIST valuesList
  • LIST numberInList

Body

Body

Control Display Icon 4.27.8 RPL Object Icon ProportionDailyFlowList

Proportions a list of daily flow values by user provided ratio.

Return Type: LIST

Arguments:

  • NUMERIC ratio
  • SLOT slot

Body

Body

Referenced Functions

  • RPL Object Icon GetDates

Control Display Icon 4.27.9 RPL Object Icon SubsetNumericList

Subsets a list for specified first and last indices.

Return Type: LIST

Arguments:

  • LIST listToSubset
  • NUMERIC firstIndex
  • NUMERIC lastIndex

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList

Control Display Icon 4.27.10 RPL Object Icon SubtractNumericLists

Returns a numeric list after subtracting 2 lists.

Return Type: LIST

Arguments:

  • LIST firstList
  • LIST secondList

Body

Body

Referenced Functions

  • RPL Object Icon MakeForLoopList

Control Display Icon 4.27.11 RPL Object Icon GetUnitlessDaysInMonth

Returns days in month as NONE units.

Return Type: NUMERIC

Arguments:

  • DATETIME datetime

Body

Body

Referenced Functions

  • RPL Object Icon GetDaysInMonth

Control Display Icon 4.27.12 RPL Object Icon GetNumberOfDays

Returns number of days in specfied period.

Return Type: NUMERIC

Arguments:

  • NUMERIC timeStep
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon GetJulianDate

Control Display Icon 4.27.13 RPL Object Icon PeriodAverage

Computes Period Average

Return Type: NUMERIC

Arguments:

  • SLOT slot
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon Sum
  • RPL Object Icon GetSlotVals

Control Display Icon 4.27.14 RPL Object Icon LastSixDaysAverage

Computes average of last six days.

Return Type: NUMERIC

Arguments:

  • SLOT slot

Body

Body

Referenced Functions

  • RPL Object Icon OffsetDate

Control Display Icon 4.27.15 RPL Object Icon BeginOfMonthDate

Returns beginning of month date given a date.

Return Type: DATETIME

Arguments:

  • DATETIME dateTime

Body

Body

Referenced Functions

  • RPL Object Icon PreviousDate

Control Display Icon 4.27.16 RPL Object Icon AverageDailyFlowForVolume

Computes average daily flow given a volume and period.

Return Type: NUMERIC

Arguments:

  • NUMERIC volume
  • DATETIME startDate
  • DATETIME endDate

Body

Body

Referenced Functions

  • RPL Object Icon GetJulianDate
  • RPL Object Icon VolumeToFlow

Control Display Icon 4.27.17 RPL Object Icon EndOfPreviousMonthDate

Returns date corresponding to last day of previous month.

Return Type: DATETIME

Arguments:

  • DATETIME dateTime

Body

Body

Referenced Functions

  • RPL Object Icon OffsetDate
  • RPL Object Icon GetDayOfMonth

Control Display Icon 4.28 RPL Object Icon Archived Depletion Functions

Control Display Icon 4.28.1 RPL Object Icon ApparentDepletionMultiReturns

Computes apparent depletion for a mutiple return flow water user. Water user has to already have fired.

Return Type: NUMERIC

Arguments:

  • OBJECT waterUser
  • DATETIME dateTime

Body

Body

Control Display Icon 4.28.2 RPL Object Icon ApparentDepletionSingleReturn

Computes apparent depletion for a single return flow water user. Water user has to already have fired.

Return Type: NUMERIC

Arguments:

  • OBJECT waterUser
  • DATETIME dateTime

Body

Body

Control Display Icon 4.28.3 RPL Object Icon DiversionRequestAtMaxEfficiency

Computes diversion request at maximum efficiency

Return Type: NUMERIC

Arguments:

  • OBJECT waterUser
  • DATETIME dateTime

Body

Body

Referenced Functions

  • RPL Object Icon Min

Control Display Icon 4.28.4 RPL Object Icon GetEfficiencyGivenDiversion

Computes efficiency as a function of diversion.

Return Type: NUMERIC

Arguments:

  • OBJECT waterUser
  • NUMERIC diversion
  • DATETIME dateTime

Body

Body

Referenced Functions

  • RPL Object Icon Min

Control Display Icon 4.28.5 RPL Object Icon GetRegionDiversionShortage

Computes Regional Diversion Shortage

Return Type: NUMERIC

Arguments:

  • STRING region

Body

Body

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon FilterByObjType

Control Display Icon 4.28.6 RPL Object Icon GetRegionDepletionShortage

Computes Regional Shortage

Return Type: NUMERIC

Arguments:

  • STRING region

Body

Body

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon FilterByObjType

Control Display Icon 4.28.7 RPL Object Icon GetSubBasinApparentDepletion

Computes apparent depletion for specified subbasin for diversions not
involved whole or partially in an export.

Return Type: NUMERIC

Arguments:

  • STRING subbasinPrefix

Body

Body

Control Display Icon 4.28.8 RPL Object Icon GetSubBasinApparentDepletionOneReturn

Takes the water users of a subbasin with only one return flow and finds the sum of the apparent depletions.

Return Type: NUMERIC

Arguments:

  • STRING subbasin

Body

Body

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon FilterByObjType

Control Display Icon 4.28.9 RPL Object Icon GetSubBasinApparentDepletionMultReturns

Takes the water users in a subbasin with multiple return flows and finds the sums of the apparent depletions.

Return Type: NUMERIC

Arguments:

  • STRING subbasin

Body

Body

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon FilterByObjType

Control Display Icon 4.28.10 RPL Object Icon GetSubBasinDepletionShortage

Return Type: NUMERIC

Arguments:

  • STRING subbasin

Body

Body

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon FilterByObjType

Control Display Icon 4.28.11 RPL Object Icon GetSubBasinExports

Computes sums of a diversion slot for a subbasin. User creates subbasin as an export.

Return Type: NUMERIC

Arguments:

  • STRING subbasin

Body

Body

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon FilterByObjType

Control Display Icon 4.28.12 RPL Object Icon RegionAvailable

Returns sum of total available water for a region.

Return Type: NUMERIC

Arguments:

  • STRING region

Body

Body

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon FilterByObjType

Control Display Icon 4.28.13 RPL Object Icon RegionDepletionRequest

Sums region (subbasin DownstreamRegion) depletion request.

Return Type: NUMERIC

Arguments:

  • STRING region

Body

Body

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon FilterByObjType

Control Display Icon 4.28.14 RPL Object Icon RegionDiversionRequest

Sums region (subbasin DownstreamRegion) diversion request.

Return Type: NUMERIC

Arguments:

  • STRING region

Body

Body

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon FilterByObjType

Control Display Icon 4.28.15 RPL Object Icon RegionHadDepletionShortage

Calls GetRegionDepletionShortage and returns TRUE if depletion shortage is greater
than 0.0.

Return Type: BOOLEAN

Arguments:

  • STRING region

Body

Body

Control Display Icon 4.28.16 RPL Object Icon RegionHadDiversionShortage

Calls GetRegionDiversionShortage and returns TRUE if diversion shortage is greater
than 0.0.

Return Type: BOOLEAN

Arguments:

  • STRING region

Body

Body

Control Display Icon 4.28.17 RPL Object Icon SubBasinHadDepletionShortage

Return Type: BOOLEAN

Arguments:

  • STRING subbasin

Body

Body

Control Display Icon 4.28.18 RPL Object Icon SubBasinHadDiversionShortage

Return Type: BOOLEAN

Arguments:

  • STRING subbasin

Body

Body

Control Display Icon 4.28.19 RPL Object Icon SumRegionRequest

Sums diversion request of a region.

Return Type: NUMERIC

Arguments:

  • STRING region

Body

Body

Referenced Functions

  • RPL Object Icon ListSubbasin
  • RPL Object Icon NetNonShortDiversionRequirement
  • RPL Object Icon FilterByObjType